sqlfluff / sqlfluff

A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

Home Page:https://www.sqlfluff.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Vertica] fix dialect mistakes

PolitePp opened this issue · comments

Search before asking

  • I searched the issues and found no similar issues.

What Happened

  1. fix float with precision
  2. fix according to linter
  3. fix aliasing indentations
  4. support aliasing for several columns in some functions
  5. support array[data_type] syntax
  6. allow over and within group in the same window function
  7. fix interval datatype
  8. fix numeric data types (no space between a type and a bracket), fix group by clause in create table partition by

Expected Behaviour

All bugs from list above are fixed

Observed Behaviour

All described scenarios violate some rules

How to reproduce

I will add test cases

Dialect

Vertica

Version

version 3.0.0a5

Configuration

Any configuration with vertica dialect

Are you willing to work on and submit a PR to address the issue?

  • Yes I am willing to submit a PR!

Code of Conduct