Repository: drill Updated Branches: refs/heads/gh-pages f883ad51f -> d2d60865d
minor edits Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/d2d60865 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/d2d60865 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/d2d60865 Branch: refs/heads/gh-pages Commit: d2d60865d533b3a3194a38c8c93040148f8149da Parents: f883ad5 Author: Bridget Bevens <[email protected]> Authored: Mon Jan 29 21:41:05 2018 -0800 Committer: Bridget Bevens <[email protected]> Committed: Mon Jan 29 21:41:05 2018 -0800 ---------------------------------------------------------------------- _docs/configure-drill/020-configuring-drill-memory.md | 8 ++++---- _docs/data-sources-and-file-formats/050-json-data-model.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/d2d60865/_docs/configure-drill/020-configuring-drill-memory.md ---------------------------------------------------------------------- diff --git a/_docs/configure-drill/020-configuring-drill-memory.md b/_docs/configure-drill/020-configuring-drill-memory.md index 7b36cac..e564e5b 100644 --- a/_docs/configure-drill/020-configuring-drill-memory.md +++ b/_docs/configure-drill/020-configuring-drill-memory.md @@ -1,6 +1,6 @@ --- title: "Configuring Drill Memory" -date: 2018-01-30 05:08:15 UTC +date: 2018-01-30 05:41:06 UTC parent: "Configure Drill" --- @@ -51,13 +51,13 @@ If performance is an issue, add -Dbounds=false, as shown in the following exampl As of Drill 1.13, bounds checking for direct memory is disabled by default. To enable bounds checking for direct memory, use the DRILLBIT_JAVA_OPTS variable to pass the `drill.exec.memory.enable_unsafe_bounds_check` parameter in $DRILL_HOME/conf/drill-env.sh, as shown: - export DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Ddrill.exec.memory.enable_unsafe_bounds_check=true + export DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Ddrill.exec.memory.enable_unsafe_bounds_check=true" -For earlier versions of Drill (prior to 1.13), bounds checking is enabled by default. To disable bounds checking, set the `drill.enable_unsafe_memory_access property` to true, as shown: +For earlier versions of Drill (prior to 1.13), bounds checking is enabled by default. To disable bounds checking, set the `drill.enable_unsafe_memory_access` parameter to true, as shown: - export DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Ddrill.enable_unsafe_memory_access =true + export DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Ddrill.enable_unsafe_memory_access=true" http://git-wip-us.apache.org/repos/asf/drill/blob/d2d60865/_docs/data-sources-and-file-formats/050-json-data-model.md ---------------------------------------------------------------------- diff --git a/_docs/data-sources-and-file-formats/050-json-data-model.md b/_docs/data-sources-and-file-formats/050-json-data-model.md index eef256e..71b812b 100644 --- a/_docs/data-sources-and-file-formats/050-json-data-model.md +++ b/_docs/data-sources-and-file-formats/050-json-data-model.md @@ -1,6 +1,6 @@ --- title: "JSON Data Model" -date: 2018-01-30 05:08:16 UTC +date: 2018-01-30 05:41:07 UTC parent: "Data Sources and File Formats" --- Drill supports [JSON (JavaScript Object Notation)](http://www.json.org/), a self-describing data format. The data itself implies its schema and has the following characteristics: @@ -29,12 +29,12 @@ JSON data consists of the following types: * Whitespace: used between tokens * Number: double-precision floating point number, including exponential numbers, NaN, and Infinity. Octal and hexadecimal are not supported. -Drill 1.13 and later supports NaN (Not-a-Number) and Infinity as numeric values. This support introduces the following options, which are set to âtrueâ by default: +Drill 1.13 and later supports NaN (Not-a-Number) and Infinity as numeric values. This support introduces the following session options, which are set to âtrueâ by default: store.json.writer.allow_nan_inf store.json.reader.allow_nan_inf -Drill writes NaN and Infinity values as literals to a JSON file when `store.json.writer.allow_nan_inf` is set to true. When set to false, Drill writes NaN and Infinity values as string values to a JSON file. If a query selects NaN or Infinity values in a JSON file, and `store.json.reader.allow_nan_inf` is set to false, Drill returns an error message. +Drill writes NaN and Infinity values as literals to a JSON file when `store.json.writer.allow_nan_inf` is set to true. When set to false, Drill writes NaN and Infinity values as string values to a JSON file. If a query selects NaN or Infinity values in a JSON file, and `store.json.reader.allow_nan_inf` is set to false, Drill returns an error message. You can use the [SET]({{site.baseurl}}/docs/set/) command to change the options. The following table shows SQL-JSON data type mapping:
