[
https://issues.apache.org/jira/browse/HIVE-22366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955060#comment-16955060
]
Hive QA commented on HIVE-22366:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12983467/HIVE-22366.2.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 185 failed/errored test(s), 17542 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[ctas_blobstore_to_blobstore]
(batchId=302)
org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[ctas_blobstore_to_hdfs]
(batchId=302)
org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[ctas_hdfs_to_blobstore]
(batchId=302)
org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[multiple_db]
(batchId=302)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_char1] (batchId=33)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_partition_coltype]
(batchId=29)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_partition_onto_nocurrent_db]
(batchId=97)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_rename_table]
(batchId=34)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_table_column_stats]
(batchId=72)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_varchar1]
(batchId=92)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_view_rename]
(batchId=41)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[annotate_stats_union]
(batchId=54)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[archive_multi]
(batchId=35)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[collision] (batchId=69)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_func1]
(batchId=21)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_or_replace_view]
(batchId=44)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ctas_uses_database_location]
(batchId=38)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cteViews] (batchId=86)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cte_5] (batchId=36)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cte_mat_5] (batchId=3)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[drop_database_removes_partition_dirs]
(batchId=71)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert1] (batchId=27)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert2] (batchId=96)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert2_overwrite_partitions]
(batchId=98)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[masking_1_newdb]
(batchId=13)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[orc_mr_pathalias]
(batchId=88)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[rename_table_update_column_stats]
(batchId=41)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[temp_table_precedence]
(batchId=93)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[touch] (batchId=71)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[view] (batchId=49)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_ctas]
(batchId=189)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_drop_table_in_encrypted_db]
(batchId=189)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_move_tbl]
(batchId=189)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[whroot_external1]
(batchId=157)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cte_5]
(batchId=170)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cte_mat_5]
(batchId=161)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[database]
(batchId=169)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[insert1]
(batchId=167)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[materialized_view_create_rewrite_multi_db]
(batchId=180)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[results_cache_1]
(batchId=180)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb]
(batchId=171)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[temp_table]
(batchId=186)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[authorization_ctas2]
(batchId=103)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[lockneg_query_tbl_in_locked_db]
(batchId=103)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[lockneg_try_lock_db_in_use]
(batchId=102)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[insert1]
(batchId=124)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[temp_table]
(batchId=153)
org.apache.hadoop.hive.ql.TestTxnCommands3.testRenameTable (batchId=350)
org.apache.hadoop.hive.ql.TestTxnExIm.testExportCustomDb (batchId=335)
org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManager2.testMetastoreTablesCleanup
(batchId=353)
org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManager2.testShowLocksFilterOptions
(batchId=353)
org.apache.hadoop.hive.ql.parse.TestExportImport.dataImportAfterMetadataOnlyImport
(batchId=275)
org.apache.hadoop.hive.ql.parse.TestExportImport.databaseTheTableIsImportedIntoShouldBeParsedFromCommandLine
(batchId=275)
org.apache.hadoop.hive.ql.parse.TestExportImport.testExportExternalTableSetFalse
(batchId=275)
org.apache.hadoop.hive.ql.parse.TestExportImport.testExportExternalTableSetTrue
(batchId=275)
org.apache.hadoop.hive.ql.parse.TestReplAcidTablesWithJsonMessage.testAcidTablesBootstrapWithConcurrentDropTable
(batchId=269)
org.apache.hadoop.hive.ql.parse.TestReplAcidTablesWithJsonMessage.testAcidTablesBootstrapWithConcurrentWrites
(batchId=269)
org.apache.hadoop.hive.ql.parse.TestReplAcidTablesWithJsonMessage.testDumpAcidTableWithPartitionDirMissing
(batchId=269)
org.apache.hadoop.hive.ql.parse.TestReplAcidTablesWithJsonMessage.testDumpAcidTableWithTableDirMissing
(batchId=269)
org.apache.hadoop.hive.ql.parse.TestReplAcidTablesWithJsonMessage.testMultiDBTxn
(batchId=269)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testBasic
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testBasicWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testBootstrapLoadOnExistingDb
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testBootstrapWithConcurrentDropTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testBootstrapWithConcurrentRename
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testCMConflict
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testConcatenatePartitionedTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testConcatenateTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testDropPartitionEventWithPartitionOnTimestampColumn
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testDrops
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testDropsWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testDumpLimit
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testDumpWithPartitionDirMissing
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testEventTypesForDynamicAddPartitionByInsert
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testExchangePartition
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIdempotentMoveTaskForInsertFiles
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalAdds
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalInsertDropPartitionedTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalInsertDropUnpartitionedTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalInsertToPartition
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalInserts
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalLoad
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalLoadFailAndRetry
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalLoadWithVariableLengthEventId
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalRepeatEventOnExistingObject
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testIncrementalReplWithEventsMissing
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testInsertOverwriteOnPartitionedTableWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testInsertOverwriteOnUnpartitionedTableWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testInsertToMultiKeyPartition
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testLoadCmPathMissing
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testMoveOptimizationIncremental
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRecycleFileDropTempTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRecycleFileNonReplDatabase
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRemoveStats
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRenamePartitionWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRenamePartitionedTableAcrossDatabases
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRenameTableAcrossDatabases
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testRenameTableWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testTableAlters
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testTaskCreationOptimization
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testTruncatePartitionedTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testTruncateTable
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testTruncateWithCM
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testViewsReplication
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplWithJsonMessageFormat.testWithStringPartitionSpecialChars
(batchId=253)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testBasic (batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testBasicWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testBootstrapLoadOnExistingDb
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testBootstrapWithConcurrentDropTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testBootstrapWithConcurrentRename
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testCMConflict
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConcatenatePartitionedTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConcatenateTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testDropPartitionEventWithPartitionOnTimestampColumn
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testDrops (batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testDropsWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testDumpLimit
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testDumpWithPartitionDirMissing
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testEventTypesForDynamicAddPartitionByInsert
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testExchangePartition
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIdempotentMoveTaskForInsertFiles
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalAdds
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalInsertDropPartitionedTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalInsertDropUnpartitionedTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalInsertToPartition
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalInserts
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalLoad
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalLoadFailAndRetry
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalLoadWithVariableLengthEventId
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalRepeatEventOnExistingObject
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testIncrementalReplWithEventsMissing
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testInsertOverwriteOnPartitionedTableWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testInsertOverwriteOnUnpartitionedTableWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testInsertToMultiKeyPartition
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testLoadCmPathMissing
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testMoveOptimizationIncremental
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRecycleFileDropTempTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRecycleFileNonReplDatabase
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRemoveStats
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRenamePartitionWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRenamePartitionedTableAcrossDatabases
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRenameTableAcrossDatabases
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testRenameTableWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testTableAlters
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testTaskCreationOptimization
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testTruncatePartitionedTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testTruncateTable
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testTruncateWithCM
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testViewsReplication
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testWithStringPartitionSpecialChars
(batchId=262)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcidTables.testAcidTablesBootstrapWithConcurrentDropTable
(batchId=271)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcidTables.testAcidTablesBootstrapWithConcurrentWrites
(batchId=271)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcidTables.testDumpAcidTableWithPartitionDirMissing
(batchId=271)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcidTables.testDumpAcidTableWithTableDirMissing
(batchId=271)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcidTables.testMultiDBTxn
(batchId=271)
org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.testDisableCompactionDuringReplLoad
(batchId=248)
org.apache.hadoop.hive.ql.util.TestHiveStrictManagedMigration.testUpgrade
(batchId=310)
org.apache.hive.beeline.cli.TestHiveCli.testSetHeaderValue (batchId=204)
org.apache.hive.hcatalog.api.repl.commands.TestCommands.testBasicReplEximCommands
(batchId=207)
org.apache.hive.hcatalog.api.repl.commands.TestCommands.testMetadataReplEximCommands
(batchId=207)
org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler.testPigPopulation
(batchId=293)
org.apache.hive.hcatalog.streaming.TestStreaming.testInterleavedTransactionBatchCommits
(batchId=219)
org.apache.hive.hcatalog.streaming.TestStreaming.testMultipleTransactionBatchCommits
(batchId=219)
org.apache.hive.hcatalog.streaming.TestStreaming.testNoBuckets (batchId=219)
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json
(batchId=219)
org.apache.hive.jdbc.TestJdbcDriver2.testGetQueryLogForReplCommands
(batchId=285)
org.apache.hive.service.server.TestInformationSchemaWithPrivilege.test
(batchId=282)
org.apache.hive.streaming.TestStreaming.testAllTypesDelimitedWriter
(batchId=361)
org.apache.hive.streaming.TestStreaming.testAllTypesDelimitedWriterInputStream
(batchId=361)
org.apache.hive.streaming.TestStreaming.testAutoRollTransactionBatch
(batchId=361)
org.apache.hive.streaming.TestStreaming.testCommitWithKeyValue (batchId=361)
org.apache.hive.streaming.TestStreaming.testConnectionWithWriteId (batchId=361)
org.apache.hive.streaming.TestStreaming.testInterleavedTransactionBatchCommits
(batchId=361)
org.apache.hive.streaming.TestStreaming.testJsonInputStream (batchId=361)
org.apache.hive.streaming.TestStreaming.testMultipleTransactionBatchCommits
(batchId=361)
org.apache.hive.streaming.TestStreaming.testNoBuckets (batchId=361)
org.apache.hive.streaming.TestStreaming.testRegexInputStream (batchId=361)
org.apache.hive.streaming.TestStreaming.testTransactionBatchCommitJson
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testDPTwoLevel
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testDPTwoLevelMissingPartitionValues
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testJsonInputStreamDP
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testRegexInputStreamDP
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testWriteAfterAbort
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testWriteAfterClose
(batchId=361)
org.apache.hive.streaming.TestStreamingDynamicPartitioning.testWriteBeforeBegin
(batchId=361)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/19061/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19061/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19061/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 185 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12983467 - PreCommit-HIVE-Build
> Multiple metastore calls for same table and constraints during planning
> -----------------------------------------------------------------------
>
> Key: HIVE-22366
> URL: https://issues.apache.org/jira/browse/HIVE-22366
> Project: Hive
> Issue Type: Improvement
> Components: Query Planning
> Reporter: Vineet Garg
> Assignee: Vineet Garg
> Priority: Major
> Attachments: HIVE-22366.1.patch, HIVE-22366.2.patch
>
>
> e.g. for a simple query like
> {code:sql}
> explain select count(i) from test2 group by j limit 3;
> {code}
> planner makes the following calls:
> {code}
> 2019-10-17T22:44:49,892 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr cmd=get_table :
> tbl=hive.default.test2
> 2019-10-17T22:44:49,908 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_primary_keys : tbl=hive.default.test2
> 2019-10-17T22:44:49,910 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_foreign_keys : parentdb=null parenttbl=null foreigndb=default
> foreigntbl=test2
> 2019-10-17T22:44:49,911 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_unique_constraints : tbl=hive.default.test2
> 2019-10-17T22:44:49,913 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_not_null_constraints : tbl=hive.default.test2
> 2019-10-17T22:44:49,979 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_partitions : tbl=hive.default.test2
> 2019-10-17T22:44:49,997 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_aggr_stats_for: table=hive.default.test2
> 2019-10-17T22:44:50,014 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr cmd=get_table :
> tbl=hive.default.test2
> 2019-10-17T22:44:50,023 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_primary_keys : tbl=hive.default.test2
> 2019-10-17T22:44:50,024 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_foreign_keys : parentdb=null parenttbl=null foreigndb=default
> foreigntbl=test2
> 2019-10-17T22:44:50,025 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_unique_constraints : tbl=hive.default.test2
> 2019-10-17T22:44:50,026 INFO [812910d4-bc6a-450c-aa8b-3487b4edceab main]
> HiveMetaStore.audit: ugi=vgarg ip=unknown-ip-addr
> cmd=get_not_null_constraints : tbl=hive.default.test2
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)