spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-25269) SQL interface support specify StorageLevel when cache table
Date Fri, 19 Oct 2018 16:17:00 GMT

     [ 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


Mime
View raw message