bxparks/bigquery-schema-generator

infer_mode still returns "REQUIRED" for json file

rconnol opened this issue · 2 comments

I set infer_mode=False, and after scanning the json file, the resulting schema still had 'REQUIRED' fields instead of the default 'NULLABLE'.

Is that the expected behavior? Or am I misunderstanding what the argument does?

Can you send a reproducible example with the exact flags that you are using? The --infer_mode is only meant only for CSV, so you should have gotten an error message if used with JSON.

Closed due to lack of activity.