Skip to content

Multi line SQL queries from Python cause problems with GA4GH Search #3

@ianfore

Description

@ianfore

In my BigQuery example I can write a SQL statement which extends over multiple lines e.g.

 	searchClient = BigQuerySearchClient()
 	query = """
 		SELECT submitter_id, read_drs_id
		FROM `isbcgc-216220.onek_genomes.ssd_drs`
 		where population = 'BEB'
 		LIMIT 1"""
 	res = searchClient.runQuery(query)

This is helpful for readability.

If I submit a query formatted this way to DiscoverySearchClient the GA4GH Search implementation gives me an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions