zkaoudi opened a new issue, #690: URL: https://github.com/apache/wayang/issues/690
When trying to run a simple SQL query to read data from a CSV file I am getting a parsing error because of this check: https://github.com/apache/wayang/blob/29bde26adef40c90af6c5f15805e43038035daa7/wayang-api/wayang-api-sql/src/main/java/org/apache/wayang/api/sql/sources/fs/JavaCSVTableSource.java#L127 After running on debugging mode I see that in the WayangTableScanVisitor the list of fieldTypes has size equal to 1 although I have four columns in my csv file. https://github.com/apache/wayang/blob/29bde26adef40c90af6c5f15805e43038035daa7/wayang-api/wayang-api-sql/src/main/java/org/apache/wayang/api/sql/calcite/converter/WayangTableScanVisitor.java#L67 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
