optional table parameter if sql query is specified
hlagosp opened this issue · comments
Hector commented
I was wondering why table is mandatory parameter if query based import is supported. should this get fixed?
Luís Bianchin 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.
Hector 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