Github user kaspersorensen commented on the pull request:

    https://github.com/apache/metamodel/pull/72#issuecomment-155358929
  
    Thanks for the feedback @albertostratio. I think we can then come to an 
agreement that both syntaxes (double quotes and square brackets) should be 
parseable by the MetaModel query parser.
    
    @ashwinrayaprolu1984 - For now I think you want this feature just for for 
table references, but in the future I would love to see it also for other 
references (columns and maybe more). Maybe if you can separate the tokenizer 
logic here so that we can reuse it for other parsing purposes. I imagine a 
tokenizer that would be delimiter aware, so that
    
     * ```"foo bar" baz``` becomes ```foo bar``` and ```baz```
     * ```[foo bar] baz``` becomes ```foo bar``` and ```baz```
     * ```[foo bar] [baz]``` becomes ```foo bar``` and ```baz```
     * ```[foo bar] baz "hello world"``` becomes ```foo bar``` and ```baz``` 
and ```hello world```
    
    (already there you have the input for a unittest of the parser ;-))


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to