[Bug]: SpannerIO withQuery overrides withTable

What happened?

if both withQuery and withTable are specfied on SpannerIO.Read, then the withQuery will override the withTable no matter in which order they are specified in the constructor.

Ensure that these 2 parameters are exclusive.

Issue Priority

Priority: 3 (minor)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner