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

SpannerIO: Better documentation and warning about creating tables in the pipeline

Details

    Description

      The javadoc for SpannerIO.Write mentions in passing that the transform needs to know the DB schema for optimal performance. If the schema is created within the pipeline, then there is a race between the schema being created and SpannerIO reading it, leading to a potential performance penalty if SpannerIO does not know about the existence of some tables. 

       

      Javadoc needs to make this clearer and more explicit, and point the user at the Write.withSchemaReadySignal().

       

      Pipeline needs to raise (rate limited) warnings if it sees writes being made to tables it does not know about (warnings can refer back to javadocs)

       

      Attachments

        Issue Links

          Activity

            People

              nielm Niel Markwick
              nielm Niel Markwick
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 50m
                  1h 50m