aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2019-03-14DRILL-7068: Support memory adjustment framework for resource management with ↵HanumathRao
Queues. closes #1677
2019-03-14DRILL-7092: Rename map to struct in schema definitionArina Ielchiieva
1. Renamed map to struct in schema parser. 2. Updated sqlTypeOf function to return STRUCT instead of MAP, drillTypeOf function will return MAP as before until internal renaming is done. 3. Add is_struct alias to already existing is_map function. Function should be revisited once Drill supports true maps. 4. Updated unit tests. closes #1688
2019-03-08DRILL-7046: Support for loading and parsing new RM config fileSorabh Hamirwasia
closes #1652
2019-02-18DRILL-6855: Do not load schema if there is an IOExceptionAbhishek Ravi
closes #1626
2019-02-08DRILL-7024: Refactor ColumnWriter to simplify type-conversion shimPaul Rogers
DRILL-7006 added a type conversion "shim" within the row set framework. Basically, we insert a "shim" column writer that takes data in one form (String, say), and does reader-specific conversions to a target format (INT, say). The code works fine, but the shim class ends up needing to override a bunch of methods which it then passes along to the base writer. This PR refactors the code so that the conversion shim is simpler. closes #1633
2019-01-03DRILL-540: Allow querying hive views in DrillIgor Guzenko
1. Added DrillHiveViewTable which allows construction of DrillViewTable based on Hive metadata 2. Added initialization of DrillHiveViewTable in HiveSchemaFactory 3. Extracted conversion of Hive data types from DrillHiveTable to HiveToRelDataTypeConverter 4. Removed throwing of UnsupportedOperationException from HiveStoragePlugin 5. Added TestHiveViewsSupport and authorization tests 6. Added closeSilently() method to AutoCloseables closes #1559
2018-12-24[maven-release-plugin] prepare for next development iterationVitalii Diravka
2018-12-24[maven-release-plugin] prepare release drill-1.15.0Vitalii Diravka
2018-12-10DRILL-6889: Exclude Drill unit tests to avoid Travis timing outVitalii Diravka
closes #1567
2018-11-26DRILL-6870: Upgrade to ANTLR4Arina Ielchiieva
closes #1554
2018-11-26DRILL-6349: Drill JDBC driver fails on Java 1.9+ with NoClassDefFoundError: ↵ozinoviev
sun/misc/VM closes #1446
2018-11-09DRILL-6760: Retain original exception in Verbose Error Messageshuifeng lu
closes #1519
2018-10-08DRILL-6762: Fix dynamic UDFs versioning issueArina Ielchiieva
1. Added UndefinedVersionDelegatingStore to serve as versioned wrapper for those stores that do not support versioning. 2. Aligned remote and local function registries version type. Type will be represented as int since ZK version is returned as int. 3. Added NOT_AVAILABLE and UNDEFINED versions to DataChangeVersion holder to indicate proper registry state. 4. Added additional trace logging. 5. Minor refactoring and clean up. closes #1484
2018-10-01DRILL-6724: Dump operator context to logs when error occurs during query ↵Bohdan Kazydub
execution closes #1455
2018-09-04DRILL-6702: Disable CPU Reporting for non-HotSpot JDKsKunal Khatua
When running Drill on the IBM JDK (J9), the webUI throws an ClassCastException : Caused by: java.lang.ClassCastException: com.ibm.lang.management.ExtendedOperatingSystem incompatible with com.sun.management.OperatingSystemMXBean This PR simply disables that, since Drill should ideally be recompiled with these alternative JDKs.
2018-08-28DRILL-6422: Replace guava imports with shaded onesVolodymyr Vysotskyi
2018-08-28DRILL-6422: Update guava to 23.0 and shade itVolodymyr Vysotskyi
- Fix compilation errors for new version of Guava. - Remove usage of deprecated API - Shade guava and add dependencies to the shaded version - Ban unshaded package - Introduce drill-shaded module and move guava-shaded under it - Add methods to convert shaded guava lists to the unshaded ones - Add instruction for publishing artifacts to the Apache repository
2018-08-27DRILL-6492: Ensure schema / workspace case insensitivity in DrillArina Ielchiieva
1. StoragePluginsRegistryImpl was updated: a. for backward compatibility at init to convert all existing storage plugins names to lower case, in case of duplicates, to log warning and skip the duplicate. b. to wrap persistent plugins registry into case insensitive store wrapper (CaseInsensitivePersistentStore) to ensure all given keys are converted into lower case when performing insert, update, delete, search operations. c. to load system storage plugins dynamically by @SystemStorage annotation. 2. StoragePlugins class was updated to stored storage plugins configs by name in case insensitive map. 3. SchemaUtilities.searchSchemaTree method was updated to convert all schema names into lower case to ensure that are they are matched case insensitively (all schemas are stored in Drill in lower case). 4. FileSystemConfig was updated to store workspaces by name in case insensitive hash map. 5. All plugins schema factories are now extend AbstractSchemaFactory to ensure that given schema name is converted to lower case. 6. New method areTableNamesAreCaseInsensitive was added to AbstractSchema to indicate if schema tables names are case insensitive. By default, false. Schema implementation is responsible for table names case insensitive search in case it supports one. Currently, information_schema, sys and hive do so. 7. System storage plugins (information_schema, sys) were refactored to ensure their schema, table names are case insensitive, also the annotation @SystemPlugin and additional constructor were added to allow dynamically load system plugins at storage plugin registry during init phase. 8. MetadataProvider was updated to concert all schema filter conditions into lower case to ensure schema would be matched case insensitively. 9. ShowSchemasHandler, ShowTablesHandler, DescribeTableHandler were updated to ensure schema / tables names (this depends if schema supports case insensitive table names) would be found case insensitively. git closes #1439
2018-08-10DRILL-6656: Disallow extra semicolons and multiple statements on the same line.Timothy Farkas
closes #1415
2018-07-25[maven-release-plugin] prepare for next development iterationBen-Zvi
2018-07-25[maven-release-plugin] prepare release drill-1.14.0Ben-Zvi
2018-07-12DRILL-6578: Handle query cancellation in Parquet readerSalim Achouche
closes #1360
2018-07-03DRILL-6494: Drill Plugins HandlerVitalii Diravka
- Storage Plugins Handler service is used op the Drill start-up stage and it updates storage plugins configs from storage-plugins-override.conf file. If plugins configs are present in the persistence store - they are updated, otherwise bootstrap plugins are updated and the result configs are loaded to persistence store. If the enabled status is absent in the storage-plugins-override.conf file, the last plugin config enabled status persists. - 'drill.exec.storage.action_on_plugins_override_file' Boot option is added. This is the action, which should be performed on the storage-plugins-override.conf file after successful updating storage plugins configs. Possible values are: "none" (default), "rename" and "remove". - The "NULL" issue with updating Hive plugin config by REST is solved. But clients are still being instantiated for disabled plugins - DRILL-6412. - "org.honton.chas.hocon:jackson-dataformat-hocon" library is added for the proper deserializing HOCON conf file - additional refactoring: "com.typesafe:config" and "org.apache.commons:commons-lang3" are placed into DependencyManagement block with proper versions; correct properties for metrics in "drill-override-example.conf" are specified closes #1345
2018-06-22DRILL-6340 Output Batch Control in Project using the RecordBatchSizerkarthik
Changes required to implement Output Batch Sizing in Project using the RecordBatchSizer. closes #1302
2018-06-15DRILL-6468: CatastrophicFailures should not do a graceful shutdown of drill ↵Timothy Farkas
when terminating the JVM. closes #1306
2018-06-06DRILL-6438: Remove excess logging form the tests.Timothy Farkas
- Removed usages of System.out and System.err from the test and replaced with loggers closes #1284
2018-06-06DRILL-6389: Fixed building javadocsTimothy Farkas
- Added documentation about how to build javadocs - Fixed some of the javadoc warnings closes #1276
2018-05-18DRILL-6421: Refactor DecimalUtility and CoreDecimalUtility classesVolodymyr Vysotskyi
closes #1267
2018-05-17DRILL-6027: Initial implementation of HashJoin spill, without memory limits ↵Ben-Zvi
checks yet
2018-05-12DRILL-6363: Upgrade jmockit and mockito libsArina Ielchiieva
2018-05-11DRILL-6249: Adding more unit testing documentation.Timothy Farkas
close apache/drill#1251
2018-05-10DRILL-6386: Remove unused imports and star imports.Drill Dev
2018-05-06DRILL-6361: Revised typeOf() function versionsPaul Rogers
Added more unit tests. Updated to handle VARDECIMAL The VARDECIMAL type was recently added to Drill. Added support for this type. The sqlTypeOf() function now returns DECIMAL(p, s) for precision p, scale s. closes #1242
2018-05-05DRILL-6281: Introduce Collectors class for internal iteratorsVlad Rozov
closes #1238
2018-05-04DRILL-6094: Decimal data type enhancementsVolodymyr Vysotskyi
Add ExprVisitors for VARDECIMAL Modify writers/readers to support VARDECIMAL - Added usage of VarDecimal for parquet, hive, maprdb, jdbc; - Added options to store decimals as int32 and int64 or fixed_len_byte_array or binary; Add UDFs for VARDECIMAL data type - modify type inference rules - remove UDFs for obsolete DECIMAL types Enable DECIMAL data type by default Add unit tests for DECIMAL data type Fix mapping for NLJ when literal with non-primitive type is used in join conditions Refresh protobuf C++ source files Changes in C++ files Add support for decimal logical type in Avro. Add support for date, time and timestamp logical types. Update Avro version to 1.8.2.
2018-05-04DRILL-4184: Support variable length decimal fields in parquetDave Oshinsky
2018-04-29DRILL-6282: Update Drill's Metrics dependenciesVitalii Diravka
- Replacing com.codahale.metrics with last io.dropwizard.metrics Metrics for Drill - com.yammer.metrics is removed, since isn't used directly by Drill closes #1189
2018-04-20DRILL-6289: Cluster view should show more relevant informationKunal Khatua
Protobuf change to carry HTTP port info Allow CORS for access to remote Drillbit metrics Cross-origin resource sharing (CORS) is required to ensure that the WebServer is able serve REST calls for status pages. Materialize relevant metrics 1. Heap memory (incl usage) 2. Heap memory (incl usage) 3. Average System Load (last 1 min) 4. Option to view from other nodes (pop out) 5. Added Glyphicons Update System Table and related tests 1. Updated System Table to show HTTP port 2. Updated unit tests Skip updating remote bit info when HTTPS (SSL) or Authentication is enabled. Default CpuGaugeSet is public; Added Gauges * CPU Utiization by Drill * Uptime Show ALL Buttons, but do HTTPS Check Reduce power button to icon Allowing CORS for /status/metrics only Accounting for situations when JVM does not report Process CPU Load i.e. returned value is negative. See https://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad() Addressed shutdown security conditions Added C++ Client Protobuf Added steps for Protobuf generation to protocol/readme.txt This closes #1203
2018-04-17DRILL-6320: Fixed license headers.Drill Dev
closes #1207
2018-03-26DRILL-6280: Cleanup execution of BuildTimeScan during maven buildVlad Rozov
closes #1177
2018-03-24DRILL-6053: Avoid excessive locking in LocalPersistentStoreVlad Rozov
closes #1163
2018-03-20DRILL-6250: Sqlline start command with password appears in the sqlline.logVladimir Tkach
closes #1174
2018-03-14Update version to 1.14.0-SNAPSHOTParth Chandra
2018-01-26DRILL-5730: Mock testing improvements and interface improvementsTimothy Farkas
closes #1045
2018-01-24DRILL-6049: Misc. hygiene and code cleanup changesPaul Rogers
close apache/drill#1085
2018-01-11DRILL-5922: - The QueryContext was never closed when the Foreman finished, ↵Timothy Farkas
so it's child allocator was never closed. Now it is. - The PlanSplitter created a QueryContext temporarily to construct an RPC message but never closed it. Now the temp QueryContext is closed. - The waitForExit method was error prone. Changed it to use the standard condition variable pattern. - Fixed timeouts in graceful shutdown tests
2017-12-15Update version to 1.13.0-SNAPSHOTArina Ielchiieva
2017-11-29DRILL-5989: Categories some tests to speed up smoke tests. Made travis run ↵Timothy Farkas
tests. closes #1053
2017-11-26DRILL-5986: Update jackson-databind version to 2.7.9.1Volodymyr Vysotskyi
closes #1046
2017-11-26DRILL-5987: Use one version of javassistTimothy Farkas
closes #1048