Skip to content

Commit

Permalink
renamed sql_keywords.conf to .sql_keywords.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 27, 2015
1 parent 08e4fd4 commit 8de0ab1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions sql_keywords.conf → .sql_keywords.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
-- License: see accompanying LICENSE file
--

-- List of keywords to uppercase for Hive QL, Impala SQL, Cassandra CQL, MySQL, PostgreSQL, Oracle, Microsoft SQL Server
-- sqlcase.pl configuration file

-- Regex one per line of keywords to uppercase - used by sql_uppercase_keywords.pl
-- List of regex keywords to uppercase for Hive QL, Impala SQL, Cassandra CQL, MySQL, PostgreSQL, Oracle, Microsoft SQL Server

-- Recommended to instead use more specific *case.pl program calls to limit the amount of re-casing keywords being applied since some keywords in one system may not be a keyword in another system or should even be lowercased instead of recased to capitals eg. "replication" in Cassandra

-- Keywords one per line will be replaced as-is with the case specified in here
-- whitespace is converted to \s+ for matching so this list can look cleaner
-- leading/trailing whitespace is automatically trimmed
-- don't specify functions such as COUNT() with brackets since brackets are added as one of several possible keyword boundaries
Expand All @@ -21,12 +25,6 @@
-- http://cassandra.apache.org/doc/cql3/CQL.html (Appendix A near bottom for CQL Keywords)
-- http://www.cloudera.com/content/cloudera-content/cloudera-docs/Impala/latest/Installing-and-Using-Impala/ciiu_langref.html

-- TODO: org.apache.hadoop.mapred.TextInputFormat and org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat case correction same as pig
-- split this in to each type of DB

-- TODO: no replication keyword in Cassandra


A
ABORT
ABS
Expand Down

0 comments on commit 8de0ab1

Please sign in to comment.