Skip to content
New issue

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

SQL: allow identifier with placeholder such as '${a_1}' #3172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 4, 2021

  1. SQL: allow identifier with placeholder such as '${a_1}'

    Close universal-ctags#3169.
    
    Some(?) dialects support shell-like variable substitution.
    HiveQL is one of such dialects.
    https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution
    
    With this change, the SQL parser accepts '${var}' as a part of an identifier.
    
    TODO: `var` itself can be extracted as a reference tag.
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    2a2e24c View commit details
    Browse the repository at this point in the history