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

HivePreparedStatement.executeImmediate always throw exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • JDBC
    • None
    • Reviewed

    Description

      executeImmediate:

      try {
      clearWarnings();
      resultSet = null;
      client.execute(sql);
      }

      but:
      public void clearWarnings() throws SQLException

      { // TODO Auto-generated method stub throw new SQLException("Method not supported"); }

      in result all calls executeQuery() for prepared statement return exception

      Attachments

        1. HIVE-2062.patch
          0.5 kB
          Alexey Diomin

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: