drill

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DRILL-6473: Update MapR Hive

close apache/drill#1307

DRILL-5188: Expand sub-queries using rules

- Add check for agg with group by literal

- Allow NLJ for limit 1

- Implement single_value aggregate function

closes #1321

    • -0
    • +1
    /exec/java-exec/src/main/codegen/config.fmpp
    • -0
    • +62
    /exec/java-exec/src/main/codegen/data/SingleValue.tdd
    • -0
    • +144
    /exec/java-exec/src/main/codegen/templates/SingleValueAgg.java
  1. … 5 more files in changeset.
DRILL-6426: Refactor TestFunctionsWithTypeExpoQueries test to be independent on limit 0 optimization option

closes #1273

DRILL-6413: Update ParquetFilterBuilder.visitBooleanOperator to handle simplified boolean expression

closes #1269

DRILL-4525: Code cleanup

- Fixed failing test

closes #1268

DRILL-6424: Updating FasterXML Jackson libraries

closes #1274

DRILL-6421: Refactor DecimalUtility and CoreDecimalUtility classes

closes #1267

DRILL-6423: Export query result as a CSV file

Added option for user specified delimiter

Also, we show query Id on results page as alink for popping out a new window

closes #1266

DRILL-5305: Query Profile must display Query ID

Introduced change to the Protobuf to inject the text-equivalent of the QueryID into the profile. This way, the profile's file name can be changed, but restored back based on this new field.

The Profile UI also shows the Query ID, though this is not inferred from this new field, for sake of backward compatibility with older profiles.

closes #1265

code review comments

DRILL-6419: E2E Integration test for Lateral&Unnest

DRILL-6418: Handle Schema change in Unnest And Lateral for unnest field / non-unnest field

Note: Changed Lateral to handle non-empty right batch with OK_NEW_SCHEMA

closes #1271

DRILL-6431: Unnest operator requires table and a single column alias to be specified. Fixing the issues related to star column renaming, same field name renaming and also enforcing that an alias column is required for the unnest operator.

  1. … 3 more files in changeset.
DRILL-6411: Make batch memory sizing logs uniform across all operators

DRILL-6374: Transitive Closure leads to TPCH Queries regressions and OOM when run concurrency test

- Test case for Directory Pruning with Transitive Predicates

- Improving description for STRICT_EQUAL_IS_DISTINCT_FROM predicate

closes #1262

DRILL-6402: Repeated Value Vectors copyFrom methods are not updating the value count and writer index correctly for values vector

DRILL-6356: batch sizing for union all

closes #1255

DRILL-6401: Precision for decimal data types may be lost for the case when cast with literal is used

close apache/drill#1254

DRILL-6353: Upgrade Parquet MR dependencies

closes #1259

  1. … 5 more files in changeset.
DRILL-6446: Support for EMIT outcome in TopN - Added comments for TopNBatch and PriorityQueueTemplate - Adding support for SchemaChange across next() call with HyperVector in incoming container. This is achieved by adding a new method in HyperVectorWrapper which just updates the vector[] array holding multiple vectors with provided input ValueVector array. And also modifying RemovingRecordBatch GenericSV4Copier to hold reference to VectorWrapper instead of ValueVector[] for each column in incoming batch - Handling empty batches. Two cases like empty batches in the begining with EMIT outcome and empty batches between consecutive EMIT outcome but after receiving some batches with data and EMIT outcome. Note: In first case of empty batch it was only returning EMIT outcome without properly creating the output container and SV4 vector. Because of that there could be a case where let's say first batch with EMIT outcome is empty then TopN will return an empty batch with SV mode NONE and if later batch comes with some records and EMIT outcome, that will generate output batch with OK_NEW_SCHEMA (since TopN always generate first output batch with records with OK_NEW_SCHEMA as it returns output with SV4 mode). Also let's consider both batch with EMIT outcome were produced after processing first 2 rows of an input batch. This is a problem as this is simulating schema change across rows of same incoming batch which will never be the case.

Note: In second case of empty batches priority queue will not be null and will be uninitialized. Also optimize to send EMIT outcome with output batch which has all the data to return for current iteration

rather than sending it with OK followed by empty batch with EMIT outcome.

closes #1293

DRILL-6386: Remove unused imports and star imports.

  1. … 217 more files in changeset.
DRILL-6386: Disallow unused imports and star imports.

    • -5
    • +2
    /src/main/resources/checkstyle-config.xml
DRILL-6255: Drillbit while sending control message to itself creates a connection instead of submitting locally

closes #1253

  1. … 4 more files in changeset.
DRILL-6389: Fixed building javadocs - Added documentation about how to build javadocs - Fixed some of the javadoc warnings

closes #1276

    • -0
    • +20
    /docs/dev/Javadocs.md
  1. … 51 more files in changeset.
DRILL-6272: Refactor dynamic UDFs and function initializer tests to generate needed binary and source jars at runtime

close apache/drill#1225

  1. … 15 more files in changeset.
DRILL-6363: Upgrade jmockit and mockito libs

DRILL-6420: Add Lateral and Unnest Keyword for highlighting on WebUI

closes #1261

DRILL-6380: Fix sporadic mongo db hangs.

closes #1249

DRILL-6242 Use java.time.Local{Date|Time|DateTime} for Drill Date, Time, Timestamp types. (#3)

close apache/drill#1247

* DRILL-6242 - Use java.time.Local{Date|Time|DateTime} classes to hold values from corresponding Drill date, time, and timestamp types.

Conflicts:

exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/fn/ExtendedJsonOutput.java

Fix merge conflicts and check style.

  1. … 32 more files in changeset.
DRILL-6373:

- Adds code to return the proper vector type given the actual vector, adjusting metadata as needed.

- Refactor result set loader

- Revised projection & vector cache

closes #1244

  1. … 25 more files in changeset.