Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6552 Drill Metadata management "Drill Metastore"
  3. DRILL-7477

Allow passing table function parameters into ANALYZE statement

Attach filesAttach ScreenshotVotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.17.0
    • 1.18.0
    • None

    Description

      It would be useful to allow passing table function parameters into ANALYZE statement.

      One of the use-cases is to pass the inlined table schema to use it when producing ANALYZE.

      Example of the command:

      ANALYZE TABLE table(dfs.`table_name` (type => 'parquet', autoCorrectCorruptDates => false, enableStringsSignedMinMax=>false, schema=>'inline=(mykey int, col_notexist varchar)')) REFRESH METADATA;
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            volodymyr Vova Vysotskyi
            volodymyr Vova Vysotskyi
            Arina Ielchiieva Arina Ielchiieva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment