drill

Clone Tools
  • last updated 14 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DRILL-7385: Convert PCAP Format Plugin to EVF

DRILL-7377: Nested schemas for dynamic EVF columns

The Result Set Loader (part of EVF) allows adding columns up-front

before reading rows (so-called "early schema.") Such schemas allow

nested columns (maps with members, repeated lists with a type, etc.)

The Result Set Loader also allows adding columns dynamically

while loading data (so-called "late schema".) Previously, the code

assumed that columns would be added top-down: first the map, then

the map's contents, etc.

Charles found a need to allow adding a nested column (a repeated

list with a declared list type.)

This patch revises the code to use the same mechanism in both the

early- and late-schema cases, allowing adding nested columns at

any time.

Testing: Added a new unit test case for the repeated list late

schema with content case.

DRILL-7358: Fix COUNT(*) for empty text files

Fixes a subtle error when a text file has a header (and so has a

schema), but is in a COUNT(*) query, so that no columns are

projected. Ensures that, in this case, an empty schema is

treated as a valid result set.

Tests: updated CSV tests to include this case.

closes #1867

DRILL-5983: Add missing nullable Parquet readers for INT and UINT logical types

closes #1866

DRILL-7170: Ignore uninitialized vector containers for OOM error messages

DRILL-7254: Read Hive union w/o nulls

  1. … 6 more files in changeset.
DRILL-7387: Failed to get value by int key from map nested into struct

DRILL-7380: Query of a field inside of an array of structs returns null

1. Fixed parquet reader projection for Logical lists (DrillParquetReader.java)

2. Fixed projection pushdown for RexFieldAccess (ProjectFieldsVisitor.java)

3. DrillParquetReader.getProjection(...) splitted into few methods

4. Added javadocs for PathSegment and SchemaPath

DRILL-7357: Expose Drill Metastore data through information_schema

1. Add additional columns to TABLES and COLUMNS tables.

2. Add PARTITIONS table.

3. General refactoring to adjust information_schema data retrieval from multiple sources.

closes #1860

  1. … 19 more files in changeset.
DRILL-7374: Support for IPV6 address

closes #1857

DRILL-7373: Fix problems involving reading from DICT type

- Fixed FieldIdUtil to resolve reading from DICT for some complex cases;

- optimized reading from DICT given a key by passing an appropriate Object type to DictReader#find(...) and DictReader#read(...) methods when schema is known (e.g. when reading from Hive tables) instead of generating it on fly based on int or String path and key type;

- fixed error when accessing value by not existing key value in Avro table.

DRILL-7376: Drill ignores Hive schema for MaprDB tables when group scan has star column

DRILL-7368: Fix Iceberg Metastore failure when filter column contains nulls

DRILL-7369: Schema for MaprDB tables is not used for the case when several fields are queried

closes #1852

DRILL-7252: Read Hive map using Dict<K,V> vector

DRILL-7343: Add User-Agent UDFs to Drill

closes #1840

    • -0
    • +56
    /contrib/udfs/README.md
DRILL-7367: Remove Server details from response headers

closes #1851

DRILL-7168: Implement ALTER SCHEMA ADD / REMOVE commands

DRILL-7362: COUNT(*) on JSON with outer list results in JsonParse error

closes #1849

DRILL-7360: Refactor WatchService in Drillbit class and fix concurrency issues

DRILL-7222: Visualize estimated and actual row counts for a query

With statistics in place, it is useful to have the estimated rowcount along side the actual rowcount query profile's operator overview. A toggle button allows this with the estimated rows hidden by default

We can extract this from the Physical Plan section of the profile.

Added a toggle-ready table-column header

closes #1779

DRILL-7356: Introduce session options for the Drill Metastore

closes #1846

DRILL-7353: Wrong driver class is written to the java.sql.Driver

closes #1845

DRILL-7326: Support repeated lists for CTAS parquet format

closes #1844

DRILL-7350: Move RowSet related classes from test folder

  1. … 278 more files in changeset.
DRILL-7339: Iceberg commit upgrade and Metastore tests categorization

1. Upgraded Iceberg commit to fix issue with deletes in transaction

2. Categorize Metastore tests

closes #1842

DRILL-7338: REST API calls to Drill fail due to insufficient heap memory

This PR allows for the 85% threshold to be customizable with a value of 0 meant for disabling.

closes #1837

DRILL-7341: Vector reAlloc may fail after exchange

closes #1838

DRILL-4517: Support reading empty Parquet files

1. Modified flat and complex parquet readers to output schema only when requested number of records to read is 0. In this case readers are not initialized to improve performance.

2. Allowed reading requested number of rows instead of all rows in the row group (DRILL-6528).

3. Fixed issue with nulls number determination in the row group (fixed IsPredicate#isAllNulls method).

4. Allowed reading empty parquet files via adding empty / fake row group.

5. General refactoring and unit tests.

6. Parquet tests categorization.

closes #1839

    • binary
    /contrib/storage-hive/core/src/test/resources/empty.parquet
  1. … 34 more files in changeset.
DRILL-7337: Add vararg UDFs support

  1. … 23 more files in changeset.