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

Add documentation for lineDelimiter

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.0, 1.11.0
    • None
    • Documentation
    • None

    Description

      We need to document the lineDelimiter attribute in [1], [2]. Also possibly a note that if using Drill on Windows, the new line delimiter in text files can be different from that on Linux / Mac. If the delimited text data has \r\n as the lineDelimiter (carriage return & new line) and querying it from Drill doesn't work as expected, we need to update the format plugin, as shown in the example below:

      "csv": {
            "type": "text",
            "extensions": [
              "csv"
            ],
            "lineDelimiter": "\r\n",
            "extractHeader": true,
            "delimiter": ","
          }
      

      [1] https://drill.apache.org/docs/plugin-configuration-basics/#list-of-attributes-and-definitions
      [2] https://drill.apache.org/docs/text-files-csv-tsv-psv/#configuring-drill-to-read-text-files

      Attachments

        Activity

          People

            bbevens Bridget Bevens
            agirish Abhishek Girish
            Abhishek Girish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: