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

liujintao commented on SPARK-38413:
-----------------------------------

create view step_29100348500  as

            select c_user_id, c_column_1, c_column_2, c_column_3, c_column_4, 
c_column_5,

                        c_column_6, c_column_7, c_column_8, c_column_9, 
c_column_10, c_column_11,

                       c_column_12, c_column_13, c_column_14, c_column_15, 
c_column_16, c_column_17,

                       c_column_18, c_column_19, c_column_20, c_column_21, 
c_column_22, c_column_23,

                      c_column_24, c_column_25, c_column_26, c_column_27, 
c_column_28, c_column_29,

                       c_column_30, c_target, cast(abs( c_column_2) as bigint) 
c_60767

          from step_29100328097.

This is my sql,I only  support  2.4.

[~hyukjin.kwon] 

> Invalid call to exprId
> ----------------------
>
>                 Key: SPARK-38413
>                 URL: https://issues.apache.org/jira/browse/SPARK-38413
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: liujintao
>            Priority: Major
>
> java.sql.SQLException: 
> org.apache.spark.sql.catalyst.analysis.UnresolvedException: Invalid call to 
> exprId on unresolved object, tree: 'c_column_2
> java.lang.RuntimeException: java.sql.SQLException: 
> org.apache.spark.sql.catalyst.analysis.UnresolvedException: Invalid call to 
> exprId on unresolved object, tree: 'c_column_2
>     at 
> com.bonc.ds.xquery.explorev2.stephandler.utils.HiveJdbcExecutor.createTableWithSql(HiveJdbcExecutor.java:602)
>     at 
> com.bonc.ds.xquery.explorev2.stephandler.operator.AbstractOperator.execute(AbstractOperator.java:183)
> I see that this issue is fixed by 2.4.0.
> I have no idea, i use hadoop3.1.4 spark 2.4.4



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to