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

Request for additional SQL functions

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Functions - Drill
    • None

    Description

      Following functions would make life with Drill easier

      Function: FILENAME()

      Description:

      • FILENAME() returns the name of the current file in case of wildcards for paths

       

      Function: ROWNUM

      Description:

      • ROWNUM returns the ROW_NUMBER of the result in each result-set. This is helpful for parsing files which don't contain an unique identifier

      Workaround:

      • select row_number() over (partition by 1) as ROWNUM from

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            amalic Alexander Malic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: