Skip to content

RuntimeError: TableSchema is none (BigQuery) #889

@memeplex

Description

@memeplex

What language are you using?

Python

What version are you using?

0.4.5

What database are you using?

BigQuery

What dataframe are you using?

Both: Pandas, Arrow

Can you describe your bug?

The (equivalent to) the first query below throws RuntimeError: TableSchema is none, after removing the join as in the second query it works fine.

SELECT t1.item_id
FROM T1 AS t1
INNER JOIN T2 AS t2 ON t2.item_id = t1.item_id
WHERE t1.site_id = "site"
LIMIT 10
SELECT t1.item_id
FROM T1 AS t1
WHERE t1.site_id = "site"
LIMIT 10

What are the steps to reproduce the behavior?

I've isolated the problem from a large query but I'm stuck here. Please help me provide more useful information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions