[ 
https://issues.apache.org/jira/browse/ATLAS-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419565#comment-17419565
 ] 

aflyary edited comment on ATLAS-3969 at 9/24/21, 5:21 AM:
----------------------------------------------------------

the sql u use maybe wrong, pls check.
{code:java}
CREATE TABLE test.t5(
id String,
name String
)

CREATE TABLE test.t6 AS SELECT id,name,age,phone FROM test.t5;
{code}


was (Author: aflyary):
the sql u use maybe wrong, pls check.
{code:java}
// CREATE TABLE test.t5(
id String,
name String
)

CREATE TABLE test.t6 AS SELECT id,name,age,phone FROM test.t5;
{code}

> Atlas1.2.0INSERT_SELECT Lineage can be retrieved but not 
> CREATE_TABLE_AS_SELECT
> -------------------------------------------------------------------------------
>
>                 Key: ATLAS-3969
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3969
>             Project: Atlas
>          Issue Type: Bug
>          Components: hive-integration
>    Affects Versions: 1.2.0
>            Reporter: zhangsan
>            Priority: Major
>              Labels: newbie
>
> CREATE TABLE test.t5(
>  id String,
>  name String
> )
> CREATE TABLE test.t6 AS SELECT id,name,age,phone FROM test.t5;
> The above operation cannot obtain the lineage
>  
> INSERT OVERWRITE TABLE test.t6 SELECT id,name FROM test.t5;
> The above operation can obtain the Lineage
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to