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

all the commands should look up catalog/table like v2 commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • SQL
    • None

    Description

      The newly added v2 commands support multi-catalog and respect the current catalog/namespace. However, it's not true for old v1 commands.

      This leads to very confusing behaviors, for example

      USE my_catalog
      DESC t // success and describe the table t from my_catalog
      ANALYZE TABLE t // report table not found as there is no table t in the session catalog
      

      We should make sure all the commands have the same behavior regarding table resolution

      Attachments

        Activity

          People

            Unassigned Unassigned
            cloud_fan Wenchen Fan
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: