File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
bigquery_schema_generator Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
33* Unreleased
4+ * 1.4 (2020-12-09)
45 * Add 'dict' as a third ` input_format ` when ` SchemaGenerator ` is used as a
56 library. This can be useful when the data has already been transformed
67 into a list of native Python ` dict ` objects (see #58 , thanks to
78 ZiggerZZ@).
89 * Expand the pattern matchers for quoted integers and quoted floating point
9- numbers to be more cmopatible with the ones recognized by `bq load
10+ numbers to be more compatible with the patterns recognized by `bq load
1011 --autodetect`.
12+ * Add Table of Contents to READMD.md. Add usage info for the
13+ ` schema_map=existing_schema_map ` and the ` input_format='dict' ` parameters
14+ in the ` SchemaGenerator() ` constructor.
1115* 1.3 (2020-12-05)
1216 * Allow an existing schema file to be specified using
1317 ` --existing_schema_path ` flag, so that new data can be merged into it.
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ $ generate-schema < file.data.json > file.schema.json
1212$ generate-schema --input_format csv < file.data.csv > file.schema.json
1313```
1414
15- ** Version** : 1.3 (2020-12-05 )
15+ ** Version** : 1.4 (2020-12-09 )
1616
1717** Changelog** : [ CHANGELOG.md] ( CHANGELOG.md )
1818
19- ** Table of Contents**
19+ ## Table of Contents
2020
2121* [ Background] ( #Background )
2222* [ Installation] ( #Installation )
@@ -572,7 +572,7 @@ schema = generator.flatten_schema(schema_map)
572572json.dump(schema, output_file, indent=2)
573573```
574574
575- The `decude_schema ()` now supports starting from an existing `schema_map`
575+ The `deduce_schema ()` now supports starting from an existing `schema_map`
576576instead of starting from scratch. This is the internal version of the
577577`--existing_schema_path` functionality.
578578
Original file line number Diff line number Diff line change 1- __version__ = '1.3 '
1+ __version__ = '1.4 '
You can’t perform that action at this time.
0 commit comments