drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [drill] branch master updated (71809ca -> 56c8f0a)
Date Fri, 02 Nov 2018 21:19:58 GMT
This is an automated email from the ASF dual-hosted git repository.

sorabh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git.


    from 71809ca  DRILL-6798: Planner changes to support semi-join.
     new f4ef0d4  DRILL-6824: Handle schema changes in MapRDBJsonRecordReader closes #1518
     new f0beeaf  DRILL-6810: Disable NULL_IF_NULL NullHandling for functions with ComplexWriter
closes #1509
     new f5a7b4c  DRILL-6809: Handle repeated map in schema inference
     new 56c8f0a  DRILL-6768: Improve to_date, to_time and to_timestamp and corresponding
cast functions to handle empty string when  option is enabled closes #1494

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../store/mapr/db/json/MaprDBJsonRecordReader.java | 127 ++++--
 exec/java-exec/src/main/codegen/data/Casts.tdd     |  36 +-
 .../src/main/codegen/data/DateIntervalFunc.tdd     |  14 +
 ...VarCharDate.java => CastStringTypesToDate.java} |  51 ++-
 .../templates/CastStringTypesToInterval.java       | 111 ++++++
 .../codegen/templates/CastVarCharInterval.java     |  90 -----
 .../SqlToDateTypeFunctions.java                    |  44 ++-
 .../ToDateTypeFunctions.java                       |  75 ++--
 .../templates/Decimal/CastVarCharDecimal.java      |   8 +-
 .../java/org/apache/drill/exec/ExecConstants.java  |   4 +-
 .../apache/drill/exec/expr/DrillSimpleFunc.java    |   6 +-
 .../exec/expr/ExpressionTreeMaterializer.java      |   6 +-
 .../exec/expr/annotations/FunctionTemplate.java    |   9 +-
 .../drill/exec/expr/fn/DrillAggFuncHolder.java     |   6 +-
 .../exec/expr/fn/DrillComplexWriterFuncHolder.java |  10 +
 .../apache/drill/exec/expr/fn/DrillFuncHolder.java |  13 +
 .../expr/fn/FunctionImplementationRegistry.java    |  12 +-
 .../apache/drill/exec/expr/fn/impl/Mappify.java    |   5 +-
 .../drill/exec/expr/fn/impl/MappifyUtility.java    |  13 +-
 .../drill/exec/expr/fn/impl/MathFunctions.java     |  94 ++++-
 .../exec/expr/fn/impl/ParseQueryFunction.java      | 168 ++++++--
 .../drill/exec/expr/fn/impl/ParseUrlFunction.java  | 252 +++++++-----
 .../drill/exec/expr/fn/impl/StringFunctions.java   |  81 +++-
 .../drill/exec/expr/fn/impl/conv/DummyFlatten.java |   4 +-
 .../exec/expr/fn/impl/conv/JsonConvertFrom.java    |  97 ++++-
 .../exec/expr/fn/impl/conv/JsonConvertTo.java      |   4 +-
 .../drill/exec/expr/stat/RangeExprEvaluator.java   |   4 +-
 .../drill/exec/physical/impl/OutputMutator.java    |   5 +
 .../apache/drill/exec/physical/impl/ScanBatch.java |   2 +
 .../physical/impl/project/ProjectRecordBatch.java  |   4 +-
 .../rowSet/model/single/SingleSchemaInference.java |   2 +-
 .../exec/planner/logical/DrillConstExecutor.java   |   5 +-
 .../exec/server/options/SystemOptionManager.java   |   2 +-
 .../exec/store/parquet/ParquetFilterBuilder.java   |   4 +-
 .../exec/expr/fn/impl/TestStringFunctions.java     |  26 ++
 .../drill/exec/fn/impl/TestCastEmptyStrings.java   | 151 +++++---
 .../drill/exec/fn/impl/TestParseFunctions.java     |  86 +++++
 .../exec/fn/impl/testing/TestDateConversions.java  |  95 +++++
 .../exec/physical/impl/TestConvertFunctions.java   |  30 ++
 .../rowSet/impl/TestResultSetLoaderMapArray.java   |  10 +-
 .../store/parquet/ParquetRecordReaderTest.java     |   5 +
 .../complex/writer/TestComplexTypeReader.java      |  31 ++
 .../java/org/apache/drill/test/ConfigBuilder.java  |   2 +-
 .../java/org/apache/drill/test/TestBuilder.java    |  19 +
 .../apache/drill/test/rowSet/RowSetBuilder.java    |   3 +-
 .../drill/test/rowSet/test/TestMapAccessors.java   | 429 +++++++++++++++++++++
 .../rowSet/test/TestRepeatedListAccessors.java     |   9 +-
 .../drill/test/rowSet/test/TestSchemaBuilder.java  |   1 +
 .../src/test/resources/dateWithEmptyStrings.json   |   3 +
 .../drill/common/expression/fn/CastFunctions.java  | 227 -----------
 .../expression/fn/FunctionReplacementUtils.java    | 233 +++++++++++
 51 files changed, 2050 insertions(+), 678 deletions(-)
 rename exec/java-exec/src/main/codegen/templates/{CastVarCharDate.java => CastStringTypesToDate.java}
(53%)
 create mode 100644 exec/java-exec/src/main/codegen/templates/CastStringTypesToInterval.java
 delete mode 100644 exec/java-exec/src/main/codegen/templates/CastVarCharInterval.java
 create mode 100644 exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestParseFunctions.java
 create mode 100644 exec/java-exec/src/test/java/org/apache/drill/test/rowSet/test/TestMapAccessors.java
 create mode 100644 exec/java-exec/src/test/resources/dateWithEmptyStrings.json
 delete mode 100644 logical/src/main/java/org/apache/drill/common/expression/fn/CastFunctions.java
 create mode 100644 logical/src/main/java/org/apache/drill/common/expression/fn/FunctionReplacementUtils.java


Mime
View raw message