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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • None
    • SQL
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: