jsonschema2db icon indicating copy to clipboard operation
jsonschema2db copied to clipboard

snowflake integration

Open bgilbert-fetchrewards opened this issue 4 years ago • 2 comments

@erikbern just kill this PR whenever you see fit

  • create abstract base class
  • create JSONSchemaToSnowflake class
  • make input params a bit more generic
  • add very basic json schema array handling
  • formatting with black

bgilbert-fetchrewards avatar Sep 14 '20 20:09 bgilbert-fetchrewards

the diff so far just looks like it's reformatting the code using black?

erikbern avatar Sep 14 '20 21:09 erikbern

the diff so far just looks like it's reformatting the code using black?

It says Large diffs are not rendered by default.on jsonschema2db.py for me, but it looks like my changes are there.

This is the Snowflake piece: https://github.com/better/jsonschema2db/blob/2dcc1ef7c537e1346f4cf71209d5722a84190a2b/jsonschema2db.py#L694-L859

bgilbert-fetchrewards avatar Sep 14 '20 21:09 bgilbert-fetchrewards