abhioncbr opened a new issue, #10701:
URL: https://github.com/apache/pinot/issues/10701

   
[extractTableNamesFromNode](https://github.com/apache/pinot/blob/master/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java#L144)
 extracts incorrect name for the table with a pattern like `db.tablename`.
   
   Instead of extracting the full name as one value, it's outputting two 
values. Example query
   ```
   Select * from db.tbl1
   ```
   It extracts a List with 2 elements (1. 'db', 2. 'tbl1')
   
   `SqlNodeAndOptions` for the above query has two values in the `FROM` node.
   <img width="1455" alt="Screen Shot 2023-04-28 at 7 25 09 PM" 
src="https://user-images.githubusercontent.com/1076944/235269232-45adcf1d-a19c-4bef-a210-e5f7db7fc6f0.png";>
   
   Just confirming, is it suppose to be like this? 
   
   cc @walterddr @ankitsultana @tibrewalpratik17 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to