Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19000

Spark beeline: table was created at default database even though specifing a database name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      None
    • Environment:

      spark2.0.0

      Description

      After running this command as follow:
      ${SPARK_HOME}/bin/beeline -u jdbc:hive2://192.168.156.5:10001/mydb -n mr -e "create table test_1(id int ,name string) row format delimited fields terminated by ',' stored as textfile;"
      I found the table "test_1" was create at default database other than mydb database that i specified。

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ouyangxc Xiaochen Ouyang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: