Giter VIP home page Giter VIP logo

hive-sql-vscode's People

Contributors

jobrad avatar michaaels avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hive-sql-vscode's Issues

code completion not working

the sublime extension supported code completion using function, i.e.: when using the regexp_extract, it would auto complete it and give you the appropriate placeholders.

Please also include "INNER" keyword here

Thanks bro.

"match" : "\\b(?i:create|database|schema|if not exists|comment|location|with dbproperties|show|drop|if exists|restrict|cascade|external|table|select|distinct|partitioned (by|on)|clustered|sorted|asc|desc|into|buckets|skewed by|row format|stored as|stored by|with serdeproperties|(set)?\\s*tblproperties|as|like|delimited|fields terminated by|collection items terminated by|map keys terminated by|lines terminated by|serde|sequencefile|textfile|rcfile|directories|inputformat|outputformat|from|where|group by|order by|limit|load data|local|inpath|overwrite|partition|insert|directory|all|cluster by|sort by|distribute by|having|using|reduce|transform|join|left|right|full|outer|semi|cross|lateral view|import|export|describe|archive|unarchive|alter|add|on|with cube|with rollup|truncate|DBPROPERTIES|tablesample|bucket|out of|case|when|then|end|view|jar|orc|escaped by|msck|repair|recover|partitions|replace columns|fileformat|touch|enable|disable|offline|no_drop|rename to|temporary\\s+(function|macro)|index|idxproperties|WITH DEFERRED REBUILD|in table|databases|schemas|tables|extended|functions|columns|formatted|dot|set\\s+(dbproperties|location|serde|(owner(\\s+(user|role))?))|rebuild|union|percent|rows|else|over|by|unbounded|preceding|current row|following|window|explain|dependency|to|analyze|(compute|update)\\s+statistics|locks|role|(set|create|grant|drop)\\s+role|grant|revoke|user|group|change|serdeproperties|null defined as|lock|unlock|use|exclusive|delete|column|grouping sets|with|compact|first|after|file|grant|option|update|show_database|privileges|function|indexes|compile|named|roles|current|unset|uniquejoin|preserve|shared|concatenate|for|principals|avro|recordreader|transactions|parquet)\\b",

Snippets are not populating

I was able to successfully install the extension and view an .hql file with the advertised formatting. However, I am unable to view any available snippets using ctrl + space or complete a snippet with tab while typing "CREATE".

Parameterize Hive table prefix

Issue Type: Bug

The IDE displays an error when trying to parameterize a Hive table name prefix.

SET TblPrefix=tbl_prefix;
SET TransDB=dev_db;
SET TransLocation=wasb://container@cluster/data/dev;

CREATE TABLE IF NOT EXISTS ${hiveconf:TransDB}.${hiveconf:TblPrefix}_test_table
(
test INT
)
PARTITIONED BY (partition_date STRING)
STORED AS ORC
LOCATION '${hiveconf:TransLocation}/${hiveconf:Prefix}_test_table';

Extension version: 0.0.2
VS Code version: Code - Insiders 1.22.0-insider (6b4d53cdab8bcae1eaaa4934d93c077319b573db, 2018-04-04T13:52:38.747Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (8 x 3510)
Memory (System) 15.95GB (7.35GB free)
Process Argv C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe
Screen Reader no
VM 0%

Keywords in Escaped Column Name Alias Wrong Colors

When keywords or function names appear in a column name enclosed by back ticks, the color formatting appears as functions instead of as a column name. (I would never name table columns as in the example, except to meet requirements.)

image

add func hint

hi bro,can u add function hint?
like
date_format(${1:date},${2:format})
?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.