You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2018/11/21 02:17:00 UTC
[jira] [Commented] (SPARK-24222) [Cache Column level is not
supported in 2.3]
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org