drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanifi Gunes <hgu...@maprtech.com>
Subject Re: [jira] [Created] (DRILL-1667) storageformat is deprecated but still appears in the default dfs configuration
Date Mon, 10 Nov 2014 18:08:00 GMT
The deprecated field should no longer appear in builds after
https://issues.apache.org/jira/browse/DRILL-1540 assuming ZK is clean
initially.


On Sun, Nov 9, 2014 at 5:13 PM, Bob Rumsby (JIRA) <jira@apache.org> wrote:

> Bob Rumsby created DRILL-1667:
> ---------------------------------
>
>              Summary: storageformat is deprecated but still appears in the
> default dfs configuration
>                  Key: DRILL-1667
>                  URL: https://issues.apache.org/jira/browse/DRILL-1667
>              Project: Apache Drill
>           Issue Type: Bug
>     Affects Versions: 0.6.0
>          Environment: Embedded mode on Mac OSX, running latest 0.6 release
>             Reporter: Bob Rumsby
>
>
> The default workspaces for DFS still show "storageformat" although this
> setting is deprecated.
> {
>   "type": "file",
>   "enabled": true,
>   "connection": "file:///",
>   "workspaces": {
>     "root": {
>       "location": "/",
>       "writable": false,
>       "storageformat": null
>     },
>     "tmp": {
>       "location": "/tmp",
>       "writable": true,
>       "storageformat": "csv"
>     }
>
> Here is a related email thread from 10/15:
>
> My understanding when I wrote the CTAS description was that the alter
> option would be deprecated and the storageformat would work in the plugin.
>
> On Wed, Oct 15, 2014 at 4:07 PM, Andries Engelbrecht <
> aengelbrecht@maprtech.com> wrote:
> Thx, the alter session setting worked.
>
> Unfortunately it is not in the documentation as a session option.
>
> https://cwiki.apache.org/confluence/display/DRILL/Planning+and+Execution+Options
>
> And seems to contradict the documentation as to how the format is set.
>
> https://cwiki.apache.org/confluence/display/DRILL/CREATE+TABLE+AS+%28CTAS%29+Command
>
> On Wed, Oct 15, 2014 at 3:37 PM, Steven Phillips <sphillips@maprtech.com>
> wrote:
> yeah, this setting in workspace is deprecated, and should be removed.
>
> On Wed, Oct 15, 2014 at 3:32 PM, Chun Chang <cchang@maprtech.com> wrote:
> You will need to set the store.format to your desired format. For example,
> to create table stored in json format, do the following:
>
> 0: jdbc:drill:zk=local> alter session set `store.format` = 'json';
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message