[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-12-11 Thread Suresh Ollala (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Ollala updated DRILL-4089:
-
Reviewer: Khurram Faraaz

> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Hanifi Gunes
> Fix For: 1.4.0
>
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.
> As a guideline, the following should be used to dictate Drill to emit records 
> in JSON.
> {code:sql}
> alter [session|sytem] set `store.format`='json';
> {code}
> and this new switch should be used to turn off pretty printing:
> {code:sql}
> alter [session|sytem] set `store.json.writer.uglify`='true';
> {code}
> By default, Drill will use system dependent line feed to seperate JSON blobs 
> when pretty printing turned off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-11-19 Thread Hanifi Gunes (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanifi Gunes updated DRILL-4089:

Fix Version/s: 1.4.0

> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Hanifi Gunes
> Fix For: 1.4.0
>
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.
> As a guideline, the following should be used to dictate Drill to emit records 
> in JSON.
> {code:sql}
> alter [session|sytem] set `store.format`='json';
> {code}
> and this new switch should be used to turn off pretty printing:
> {code:sql}
> alter [session|sytem] set `store.json.writer.uglify`='true';
> {code}
> By default, Drill will use system dependent line feed to seperate JSON blobs 
> when pretty printing turned off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-11-16 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-4089:

Assignee: Hanifi Gunes  (was: Deneche A. Hakim)

> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Hanifi Gunes
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.
> As a guideline, the following should be used to dictate Drill to emit records 
> in JSON.
> {code:sql}
> alter [session|sytem] set `store.format`='json';
> {code}
> and this new switch should be used to turn off pretty printing:
> {code:sql}
> alter [session|sytem] set `store.json.writer.uglify`='true';
> {code}
> By default, Drill will use system dependent line feed to seperate JSON blobs 
> when pretty printing turned off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-11-16 Thread Hanifi Gunes (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanifi Gunes updated DRILL-4089:

Assignee: Deneche A. Hakim  (was: Hanifi Gunes)

> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Deneche A. Hakim
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.
> As a guideline, the following should be used to dictate Drill to emit records 
> in JSON.
> {code:sql}
> alter [session|sytem] set `store.format`='json';
> {code}
> and this new switch should be used to turn off pretty printing:
> {code:sql}
> alter [session|sytem] set `store.json.writer.uglify`='true';
> {code}
> By default, Drill will use system dependent line feed to seperate JSON blobs 
> when pretty printing turned off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-11-13 Thread Hanifi Gunes (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanifi Gunes updated DRILL-4089:

Description: 
Currently JSON record writer emits records pretty-printed and there is no way 
to configure this behavior. This issue proposes to make this configurable via a 
prettyPrint switch in -storage- execution configuration with default value of 
true to ensure backward compatibility.


As a guideline, the following should be used to dictate Drill to emit records 
in JSON.
{code:sql}
alter [session|sytem] set `store.format`='json';
{code}

and this new switch should be used to turn off pretty printing:
{code:sql}
alter [session|sytem] set `store.json.writer.uglify`='true';
{code}

By default, Drill will use system dependent line feed to seperate JSON blobs 
when pretty printing turned off.



  was:
Currently JSON record writer emits records pretty-printed and there is no way 
to configure this behavior. This issue proposes to make this configurable via a 
prettyPrint switch in -storage- execution configuration with default value of 
true to ensure backward compatibility.


As a guideline, the following should be used to dictate Drill to emit records 
in JSON.
{code:sql}
alter [session|sytem] set `store.format`='json';
{code}

and this new switch should be used to turn off pretty printing:
{code:sql}
alter [session|sytem] set `store.json.writer.pretty`='false';
{code}

By default, Drill will use system dependent line feed to seperate JSON blobs 
when pretty printing turned off.




> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Hanifi Gunes
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.
> As a guideline, the following should be used to dictate Drill to emit records 
> in JSON.
> {code:sql}
> alter [session|sytem] set `store.format`='json';
> {code}
> and this new switch should be used to turn off pretty printing:
> {code:sql}
> alter [session|sytem] set `store.json.writer.uglify`='true';
> {code}
> By default, Drill will use system dependent line feed to seperate JSON blobs 
> when pretty printing turned off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-11-13 Thread Hanifi Gunes (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanifi Gunes updated DRILL-4089:

Description: 
Currently JSON record writer emits records pretty-printed and there is no way 
to configure this behavior. This issue proposes to make this configurable via a 
prettyPrint switch in -storage- execution configuration with default value of 
true to ensure backward compatibility.


As a guideline, the following should be used to dictate Drill to emit records 
in JSON.
{code:sql}
alter [session|sytem] set `store.format`='json';
{code}

and this new switch should be used to turn off pretty printing:
{code:sql}
alter [session|sytem] set `store.json.writer.pretty`='false';
{code}

By default, Drill will use system dependent line feed to seperate JSON blobs 
when pretty printing turned off.



  was:Currently JSON record writer emits records pretty-printed and there is no 
way to configure this behavior. This issue proposes to make this configurable 
via a prettyPrint switch in -storage- execution configuration with default 
value of true to ensure backward compatibility.


> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Hanifi Gunes
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.
> As a guideline, the following should be used to dictate Drill to emit records 
> in JSON.
> {code:sql}
> alter [session|sytem] set `store.format`='json';
> {code}
> and this new switch should be used to turn off pretty printing:
> {code:sql}
> alter [session|sytem] set `store.json.writer.pretty`='false';
> {code}
> By default, Drill will use system dependent line feed to seperate JSON blobs 
> when pretty printing turned off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-4089) Make JSON pretty printing configurable

2015-11-13 Thread Hanifi Gunes (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanifi Gunes updated DRILL-4089:

Description: Currently JSON record writer emits records pretty-printed and 
there is no way to configure this behavior. This issue proposes to make this 
configurable via a prettyPrint switch in -storage- execution configuration with 
default value of true to ensure backward compatibility.  (was: Currently JSON 
record writer emits records pretty-printed and there is no way to configure 
this behavior. This issue proposes to make this configurable via a prettyPrint 
switch in storage configuration with default value of true to ensure backward 
compatibility.)

> Make JSON pretty printing configurable
> --
>
> Key: DRILL-4089
> URL: https://issues.apache.org/jira/browse/DRILL-4089
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.2.0
>Reporter: Hanifi Gunes
>Assignee: Hanifi Gunes
>
> Currently JSON record writer emits records pretty-printed and there is no way 
> to configure this behavior. This issue proposes to make this configurable via 
> a prettyPrint switch in -storage- execution configuration with default value 
> of true to ensure backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)