validate
public Dataflow.Projects.Locations.Sql.Validate validate(String projectId,
String location)
throws IOException
Validates a GoogleSQL query for Cloud Dataflow syntax. Will always confirm the given query parses
correctly, and if able to look up schema information from DataCatalog, will validate that the
query analyzes properly as well.
Create a request for the method "sql.validate".
This request holds the parameters needed by the dataflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
projectId
- Required. The ID of the Cloud Platform project that the job belongs to.
location
- The [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.
- Returns:
- the request
- Throws:
IOException