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

always catch exception when invoke executeUpdate in jdbc

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JDBC
    • Labels:
      None

      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

          Activity

            People

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

              Dates

              • Created:
                Updated: