john-bodley opened a new pull request #7374: [fix] Fixing SQL parsing issue
URL: https://github.com/apache/incubator-superset/pull/7374
 
 
   ### CATEGORY
   
   Choose one
   
   - [x] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   
   This PR fixes an issue with parsing SQL where iterating over the identifiers 
associated with a `sqlparser` `IdentifierList` yields a `Token` (as opposed to 
a `TokenList`) resulting in the following error:
   ```
   builtins:AttributeError: 'Token' object has no attribute 'tokens'
   ```
   
   ### TEST PLAN
   
   CI. 
   
   ### REVIEWERS
   
   to: @michellethomas @mistercrunch 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to