Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1450

always catch exception when invoke executeUpdate in jdbc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • None
    • None
    • JDBC
    • None
    • now hive already have update and mentions code doesn't exist anymore after HIVE-2935

    Description

      Request executed in hive, but always return exception
      error in ./jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveStatement.java

        public int executeUpdate(String sql) throws SQLException {
          try {
            client.execute(sql);
          } catch (Exception ex) {
            throw new SQLException(ex.toString());
          }
          throw new SQLException("Method not supported");
        }
      

      executeQuery work correct

      Attachments

        1. HIVE-1450.D4293.1.patch
          2 kB
          Carl Steinbach

        Activity

          People

            Unassigned Unassigned
            humanoid Alexey Diomin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: