pan3793 commented on code in PR #6911: URL: https://github.com/apache/kyuubi/pull/6911#discussion_r1950696907
########## extensions/spark/kyuubi-spark-lineage/src/test/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParserHelperSuite.scala: ########## @@ -1442,6 +1448,34 @@ class SparkSQLLineageParserHelperSuite extends KyuubiFunSuite } } + test("test directory to table") { + val inputFile = getClass.getResource("/").getPath + "input_file" + val sourceFile = File(inputFile).createFile() + spark.sql( + s""" + |CREATE OR REPLACE TEMPORARY VIEW temp_view ( + | `a` STRING COMMENT '', + | `b` STRING COMMENT '' + |) USING csv OPTIONS( + | sep='\t', + | path='${sourceFile.path}' Review Comment: ```suggestion | sep='\t', | path='${sourceFile.path}' ``` -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org