We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I implemented sub catalogs as recommended here #125 to analyze queries with different table names backtick placements.
While looking to extract the columns, along with their table, from a query the ResolvedNodes.Visitor() does not return the fully qualified table name:
ResolvedNodes.Visitor()
select col from `some-project`.ds.table_name
.getFullName() returns table_name.
.getFullName()
Is there a way to get the project and dataset?
Here is my visitor in scala
statement.accept(new ResolvedNodes.Visitor() { override def visit(node: ResolvedNodes.ResolvedTableScan): Unit = { val table = node.getTable table.getColumnList.forEach(col => (table.getFullName, col.getName)) super.visit(node) } })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I implemented sub catalogs as recommended here #125 to analyze queries with different table names backtick placements.
While looking to extract the columns, along with their table, from a query the
ResolvedNodes.Visitor()
does not return the fully qualified table name:.getFullName()
returns table_name.Is there a way to get the project and dataset?
Here is my visitor in scala
The text was updated successfully, but these errors were encountered: