flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhue...@apache.org
Subject [4/5] flink git commit: [FLINK-3900] [tableAPI] Set nullCheck=true as default in TableConfig.
Date Tue, 17 May 2016 22:49:29 GMT
[FLINK-3900] [tableAPI] Set nullCheck=true as default in TableConfig.

This closes #1994


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/f2e60575
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/f2e60575
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/f2e60575

Branch: refs/heads/master
Commit: f2e605759f77061e76fc7da6a55faeb44c67fc6f
Parents: 4fbd8eb
Author: Joshi <rekhajoshm@gmail.com>
Authored: Mon May 16 14:25:12 2016 -0700
Committer: Fabian Hueske <fhueske@apache.org>
Committed: Wed May 18 00:12:22 2016 +0200

----------------------------------------------------------------------
 docs/apis/table.md                                                 | 2 +-
 .../src/main/scala/org/apache/flink/api/table/TableConfig.scala    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/f2e60575/docs/apis/table.md
----------------------------------------------------------------------
diff --git a/docs/apis/table.md b/docs/apis/table.md
index eae4ebd..276341d 100644
--- a/docs/apis/table.md
+++ b/docs/apis/table.md
@@ -737,5 +737,5 @@ Runtime Configuration
 The Table API provides a configuration (the so-called `TableConfig`) to modify runtime behavior.
It can be accessed either through `TableEnvironment` or passed to the `toDataSet`/`toDataStream`
method when using Scala implicit conversion.
 
 ### Null Handling
-By default, the Table API does not support `null` values at runtime for efficiency purposes.
Null handling can be enabled by setting the `nullCheck` property in the `TableConfig` to `true`.
+By default, the Table API supports `null` values. Null handling can be disabled by setting
the `nullCheck` property in the `TableConfig` to `false`.
 

http://git-wip-us.apache.org/repos/asf/flink/blob/f2e60575/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableConfig.scala
----------------------------------------------------------------------
diff --git a/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableConfig.scala
b/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableConfig.scala
index e93d37d..c92451d 100644
--- a/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableConfig.scala
+++ b/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableConfig.scala
@@ -32,7 +32,7 @@ class TableConfig extends Serializable {
   /**
    * Defines if all fields need to be checked for NULL first.
    */
-  private var nullCheck: Boolean = false
+  private var nullCheck: Boolean = true
 
   /**
     * Defines if efficient types (such as Tuple types or Atomic types)


Mime
View raw message