Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12730

Add custom delimiters to Python TextIO reads

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • P2
    • Resolution: Done
    • None
    • 2.35.0
    • io-py-common, io-py-files
    • None

    Description

      A common request by users is to be able to separate a text files read by TextIO with delimiters other than newline. The Java SDK already supports this feature.

      The current delimiter code is located here and defaults to newlines. This function could easily be modified to also handle custom delimiters. Changing this would also necessitate changing the API for the various TextIO.Read methods and adding documentation.

      This seems like a good starter bug for making more in-depth contributions to Beam Python.

      Attachments

        Issue Links

          Activity

            People

              dmitrii_kuzin Dmitrii Kuzin
              danoliveira Daniel Oliveira
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 25h 50m
                  25h 50m