Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6384

Allow using colon for specifying column families in sql grammar

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      As I worked on the query compiler code recently, it became apparent that the way we overload the . (dot) character for specifying column families is a very limited and ambigous choice, with ugly and error-prone code hacked into the compiler to support it.

      While we cannot remove the currently supported syntax from the code, we should look into adding an alternate unambigious syntax for the same, which could be used with less limitations.

      I get the impression that using colon for this should be doable.

      select cf:* from table;
      
      select a:cf.*, b:cf:*, a.cf.column from table a, table b; //not possible currenty
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            stoty Istvan Toth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: