spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-21354) INPUT FILE related functions do not support more than one sources
Date Sun, 09 Jul 2017 23:00:00 GMT

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message