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

json queries fails on unexpected EOL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • Future
    • Storage - JSON
    • None

    Description

      querying directories or files that are open by some writer is a create way to keep up with data (csv/tsv) being logged out by servers, processes etc.

      We did a small test where we appended a copy of our message stream (1k msg./sec.) to a json file and queried it with Drill. This worked just fine but every once in a while we would get Unexpected End of Line errors as the writer was appending to the file as Drill was reading it.

      It would be great if an incomplete entry at the end of the file would simply be ignored.

      Attachments

        Activity

          People

            Unassigned Unassigned
            acmeguy Stefán Baxter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: