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

Liang Ke edited comment on SPARK-16603 at 7/25/16 8:58 AM:
-----------------------------------------------------------

Sorry. I read the spark sourcecode again, find it's a usage error:
right usage is quoted this column name. and query again without error.

select * from tsp where 'tsp.20_user_addr' <10



was (Author: biglobster):
Sorry. I read the spark sourcecode again, find it's a usage error:
right usage is adding quota between this column name. and query again without 
error.

select * from tsp where 'tsp.20_user_addr' <10


> Spark2.0 fail in executing the sql statement which field name begins with 
> number,like "d.30_day_loss_user" while spark1.6 supports
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16603
>                 URL: https://issues.apache.org/jira/browse/SPARK-16603
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: marymwu
>            Priority: Minor
>
> Spark2.0 fail in executing the sql statement which field name begins with 
> number,like "d.30_day_loss_user" while spark1.6 supports
> Error: org.apache.spark.sql.catalyst.parser.ParseException: mismatched input 
> '.30' expecting
> {')', ','}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to