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

Yuming Wang commented on SPARK-24222:
-------------------------------------

Please use _{{cache table cache1 as select name,num,height from s3 where 
length=8}}_ to cache.

> [Cache Column level is not supported in 2.3]
> --------------------------------------------
>
>                 Key: SPARK-24222
>                 URL: https://issues.apache.org/jira/browse/SPARK-24222
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: ABHISHEK KUMAR GUPTA
>            Priority: Minor
>
> Steps:
>  # Create table s3;
>  # Insert data in S3;
>  # Execute cache column label as below
>  # cache select name,num,height from s3 where length=8;
>  # Throws Error as below
>  
> Error in query:
> mismatched input 'select' expecting {'TABLE', 'LAZY'}(line 1, pos 6)
> == SQL ==
> cache select name,num,height from s3 where length=8
> Table level caching is supported like
>  cache table s3; -- Success



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to