We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd1798 commit b37e6f9Copy full SHA for b37e6f9
1 file changed
packages/bigframes/bigframes/core/compile/sqlglot/sqlglot_ir.py
@@ -214,8 +214,10 @@ def from_table(
214
if not columns and not sql_predicate:
215
return cls.from_expr(expr=table_expr, uid_gen=uid_gen)
216
217
- select_items: list[sge.Identifier | sge.Star] = (
218
- [sql.identifier(col) for col in columns] if columns else [sge.Star()]
+ select_items: list[sge.Expression] = (
+ [sge.Column(this=sql.identifier(col), table=sql.identifier(table_alias)) for col in columns]
219
+ if columns
220
+ else [sge.Star()]
221
)
222
select_expr = sge.Select().select(*select_items).from_(table_expr)
223
0 commit comments