Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1227

Add streaming CSV table

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Add a variant of CsvTable that can be streamed. It would serve as an example of how to write stream adapters.

      It would be like the CSV adapter, but watches a file and reports records added to the end of the file (like the tail command).

      You’d have to change CsvTable to implement StreamableTable, and implement the Table stream() method to return a variant of the table that is in “follow” mode.

      It would probably be implemented by a variant of CsvEnumerator, but it is getting its input in bursts, as the file is appended to.

      You would still be able to use this adapter to read historical data from the CSV file. Appending records to the file would make a nice demo.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment