Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
Consider such SQL: select count(1) from csv_table.
When above SQL was executed, an exception will occur:
java.lang.IllegalArgumentException: At least one field must be specified
at org.apache.flink.api.java.io.RowCsvInputFormat.<init>(RowCsvInputFormat.java:50)
So if no fields will be used, we should also keep some columns for CSVTableSource to get row count.
Attachments
Issue Links
- links to