File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/com/example/dataflow Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 3838 <java .version>1.8</java .version>
3939 <maven .compiler.source>1.8</maven .compiler.source>
4040 <maven .compiler.target>1.8</maven .compiler.target>
41- <apache_beam .version>2.3 .0</apache_beam .version>
41+ <apache_beam .version>2.5 .0</apache_beam .version>
4242 </properties >
4343
4444 <build >
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ public static void main(String[] args) {
6969 // [START spanner_dataflow_readall]
7070 PCollection <Struct > allRecords = p .apply (SpannerIO .read ()
7171 .withSpannerConfig (spannerConfig )
72+ .withBatching (false )
7273 .withQuery ("SELECT t.table_name FROM information_schema.tables AS t WHERE t"
7374 + ".table_catalog = '' AND t.table_schema = ''" )).apply (
7475 MapElements .into (TypeDescriptor .of (ReadOperation .class ))
You can’t perform that action at this time.
0 commit comments