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

Appending a variable value into the hive query inside java code gives me an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • None
    • API
    • None

    Description

      New to this forum please help or guide me where do i find the solution to this error.
      Query inside java :
      res=stm.executeQuery("select * from dataset where c_name = "+jComboBox1.getSelectedItem());
      Error :
      FAILED: SemanticException [Error 10004]: Line 1:35 Invalid table alias or column reference 'AAPL': (possible column names are:

      Cannot get over this issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            DexterDS07 Amey D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: