Assigned
Status Update
Comments
ds...@google.com <ds...@google.com> #2
Hello,
Thank you for reporting the issue. This has been forwarded to the BigQuery Engineering Team so that they may evaluate it.Note that there are no ETAs or guarantees of implementation. All communication regarding this issue is to be done here.
Description
Problem you have encountered:
Creation of external tables pointing to a sheet title that looks like a cell reference is duck typed as a cell reference for the first worksheet.
e.g. A sheet title of "AA2" will return the following when attempting to query the created table:
When the second sheet title is renamed to "A2" & created again with that, it fails silently as A2 technically exists as Sheet1!A2
What you expected to happen:
Data to be returned from the named sheet in "sheet_range". Based on the help text for creating an external table in the UI, specifying sheet_range as "AA2" should be taken explicitly as it isn't qualified as
[sheet_title]![cell_id]
Steps to reproduce:
Create sheets workbook, add new worksheet, name worksheet look like a cell reference, add headers into A1, B1, fill out some data.
Create external table via BQ UI
Other information (workarounds you have tried, documentation consulted, etc):
Wrapping the sheet title in single quotes or qualifying cell references forces the expected behaviour e.g.
sheet_range="'AA2'"
orsheet_range="'AA2'!A1:B6"
Help Text from clicking on the "Sheet Range" (?) when creating a table through the UI -
Thanks