You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2018/10/19 16:17:00 UTC
[jira] [Updated] (SPARK-25269) SQL interface support specify
StorageLevel when cache table
[ https://issues.apache.org/jira/browse/SPARK-25269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-25269:
----------------------------------
Description:
{code:sql}
CACHE TABLE tableName OPTIONS('storageLevel' 'DISK_ONLY');
{code}
Supported {{StorageLevel}} should be:
https://github.com/apache/spark/blob/eefdf9f9dd8afde49ad7d4e230e2735eb817ab0a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala#L153-L164
was:
{code:sql}
CACHE MEMORY_ONLY TABLE testData;
{code}
Supported {{StorageLevel}} should be:
https://github.com/apache/spark/blob/eefdf9f9dd8afde49ad7d4e230e2735eb817ab0a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala#L153-L164
> SQL interface support specify StorageLevel when cache table
> -----------------------------------------------------------
>
> Key: SPARK-25269
> URL: https://issues.apache.org/jira/browse/SPARK-25269
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.0
> Reporter: Yuming Wang
> Assignee: Yuming Wang
> Priority: Major
> Fix For: 3.0.0
>
>
> {code:sql}
> CACHE TABLE tableName OPTIONS('storageLevel' 'DISK_ONLY');
> {code}
> Supported {{StorageLevel}} should be:
> https://github.com/apache/spark/blob/eefdf9f9dd8afde49ad7d4e230e2735eb817ab0a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala#L153-L164
--
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