Skip to main content

A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL and Databricks SQL.

Reason this release was yanked:

Major bug in CC04.

Project description

sqlfluff-common-conventions

A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL and Databricks SQL.

Rules

As of 8 May 2024, all rules are compatible with snake, dromedary, and pascal case.

  • CC01: Start boolean columns with is or has.
  • CC02: End datetime, time, and timestamp columns with at.
  • CC03: End date columns with date.
  • CC04: Only allow a list of configurable strings to be used in identifiers.
  • CC05: Block a list of configurable strings from being used in identifiers.
  • CC06: Ensure column and table names match a given regex.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlfluff_common_conventions-0.3.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlfluff_common_conventions-0.3.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file sqlfluff_common_conventions-0.3.0.tar.gz.

File metadata

File hashes

Hashes for sqlfluff_common_conventions-0.3.0.tar.gz
Algorithm Hash digest
SHA256 34131bc00716187d2a9f02ab7ee8c50eb8e3f94e315db05f05c8288ccc7f0fff
MD5 3b2c27f1f77cf8c73adf4687652c8de7
BLAKE2b-256 1b7926c460ea0518b29b6112a5564e5a529b5831ba7b8b8afaeb25680979e649

See more details on using hashes here.

File details

Details for the file sqlfluff_common_conventions-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlfluff_common_conventions-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f6f115801f65ac8b4888961308ea3a0bf1cfef26bbe534d4c39ba6a21122aa
MD5 a2a6ae6a84df2b8cd057308ff8c4edf3
BLAKE2b-256 52f63eb39195ccbe1f84735567f271ed21205936ce23829599f71609340b8d15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page