Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8394

ANALYZE TABLE ... COMPUTE STATISTICS fails with a trailing slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.20.3
    • 1.21.0
    • Metadata
    • None

    Description

      Given a directory cstest containing a single parquet file both of the following commands should succeed.

      apache drill> analyze table dfs.tmp.`cstest` compute statistics;
      Fragment                   0_0
      Number of records written  41 row selected (1.754 seconds)
      
      apache drill> analyze table dfs.tmp.`cstest/` compute statistics;
      ok       false
      summary  Table cstest/ is not supported by ANALYZE. Support is currently limited to directory-based Parquet tables. 

      Attachments

        Activity

          People

            dzamo James Turton
            dzamo James Turton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: