Review Board 1.7.22


HIVE-4373 - Hive Version returned by HiveDatabaseMetaData.getDatabaseProductVersion is incorrect

Review Request #10812 - Created April 27, 2013 and updated

Thejas Nair
HIVE-4373
Reviewers
hive
hive-git
HIVE-4373
Unit test included. Also tested with remote HS2 server.
common/build.xml
Revision 731f26e New Change
[20] 22 lines
[+20]
23
to call at top-level: ant deploy-contrib compile-core-test
23
to call at top-level: ant deploy-contrib compile-core-test
24
-->
24
-->
25
<project name="common" default="jar">
25
<project name="common" default="jar">
26

    
   
26

   
27
  <property name="src.dir"  location="${basedir}/src/java"/>
27
  <property name="src.dir"  location="${basedir}/src/java"/>

    
   
28
  <property name="src.gen.dir"  location="${basedir}/src/gen"/>
28
  <import file="../build-common.xml"/>
29
  <import file="../build-common.xml"/>
29

    
   
30

   
30
  <target name="compile" depends="init, setup, ivy-retrieve">
31
  <target name="compile" depends="init, setup, ivy-retrieve">
31
    <echo message="Project: ${ant.project.name}"/>
32
    <echo message="Project: ${ant.project.name}"/>
32
    <exec executable="bash" failonerror="true">
33
    <exec executable="bash" failonerror="true">
33
      <arg value="${basedir}/src/scripts/saveVersion.sh"/>
34
      <arg value="${basedir}/src/scripts/saveVersion.sh"/>
34
      <arg value="${version}"/>
35
      <arg value="${version}"/>
35
      <arg value="${basedir}/src"/>
36
      <arg value="${basedir}/src"/>
36
    </exec>
37
    </exec>
37
    <javac
38
    <javac
38
     encoding="${build.encoding}"
39
     encoding="${build.encoding}"
39
     srcdir="${src.dir}"
40
     srcdir="${src.dir}:${src.gen.dir}"
40
     includes="**/*.java"
41
     includes="**/*.java"
41
     destdir="${build.classes}"
42
     destdir="${build.classes}"
42
     debug="${javac.debug}"
43
     debug="${javac.debug}"
43
     deprecation="${javac.deprecation}"
44
     deprecation="${javac.deprecation}"
44
     includeantruntime="false">
45
     includeantruntime="false">
[+20] [20] 34 lines
jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java
Revision 3d1a969 New Change
 
jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java
Revision 938dd9a New Change
 
service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
Revision 18594cb New Change
 
  1. common/build.xml: Loading...
  2. jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java: Loading...
  3. jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java: Loading...
  4. service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java: Loading...