[ https://issues.apache.org/jira/browse/SPARK-21354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li updated SPARK-21354: ---------------------------- Description: {noformat} hive> select *, INPUT__FILE__NAME FROM t1, t2; FAILED: SemanticException Column INPUT__FILE__NAME Found in more than One Tables/Subqueries {noformat} The build-in functions {{input_file_name}}, {{input_file_block_start}}, {{input_file_block_length}} do not support more than one sources, like what Hive does. Currently, we do not block it and the outputs are ambiguous. was: {noformat} hive> select *, INPUT__FILE__NAME FROM t1, t2; FAILED: SemanticException Column INPUT__FILE__NAME Found in more than One Tables/Subqueries {noformat} The build-in functions {{input_file_name}}, {{input_file_block_start}}, {{input_file_block_length}} do not support more than one sources, like what Hive does > INPUT FILE related functions do not support more than one sources > ----------------------------------------------------------------- > > Key: SPARK-21354 > URL: https://issues.apache.org/jira/browse/SPARK-21354 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.2, 2.1.1, 2.2.0 > Reporter: Xiao Li > Assignee: Xiao Li > > {noformat} > hive> select *, INPUT__FILE__NAME FROM t1, t2; > FAILED: SemanticException Column INPUT__FILE__NAME Found in more than One > Tables/Subqueries > {noformat} > The build-in functions {{input_file_name}}, {{input_file_block_start}}, > {{input_file_block_length}} do not support more than one sources, like what > Hive does. Currently, we do not block it and the outputs are ambiguous. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org