[ https://issues.apache.org/jira/browse/HIVE-18240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284690#comment-16284690 ]
Hive QA commented on HIVE-18240: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12901269/HIVE-18240.01.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 11517 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[parquet_ppd_decimal] (batchId=9) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[hybridgrace_hashjoin_2] (batchId=157) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=165) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=160) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=113) org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=226) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/8159/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/8159/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-8159/ 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: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12901269 - PreCommit-HIVE-Build > support getClientInfo/setClientInfo in JDBC > ------------------------------------------- > > Key: HIVE-18240 > URL: https://issues.apache.org/jira/browse/HIVE-18240 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HIVE-18240.01.patch, HIVE-18240.patch > > > These are JDBC APIs that allow the user of the driver to provide client info > to the server; the list of the fields supported by the driver is returned as > a result set by getClientInfoProperties API. > I've looked at IBM, Oracle, MS etc. docs and it seems like ApplicationName is > a common one; there's also ClientHostname, etc. that we don't need because > HS2 derives them already. > The client will then set these properties via setClientInfo if desired. > Whether it is desired by any BI tools of significance I've no idea. > The properties are sent to the server on connect (which is what Microsoft > seems to do, but in Hive model it's impossible because HiveConnection > connects in ctor), or on the next query (I don't recall where I've seen > this), or immediately (which is what I do in this patch). > The getClientInfo API on the driver side seems completely pointless, so I > cache clientinfo locally for it. -- This message was sent by Atlassian JIRA (v6.4.14#64029)