optional table parameter if sql query is specified
hlagosp opened this issue · 2 comments
hlagosp commented
I was wondering why table is mandatory parameter if query based import is supported. should this get fixed?
labianchin commented
Good question!
I think table parameter is used when generating the Avro schema. If not, feel free to send a PR that a) remove the mandatory requirement b) tests/exercises the behavior in case --table
table is missing and --sqlFile
is present.
hlagosp commented
even if table is used to generate avro schema, I think it should be done using the query instead, will take a look and confirm