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

New rule L069: Consistent syntax for sql type casting #3747

Merged

Commits on Aug 9, 2022

  1. enforce consistent syntax for SQL type casting

    Bolaji Wahab committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    fa4ba5e View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. fixed casting in case statements

    Bolaji Wahab committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    adc6281 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. regenerated fixtures

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    5790397 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bcfed4 View commit details
    Browse the repository at this point in the history
  3. added fixes for multicast

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    f37f2b6 View commit details
    Browse the repository at this point in the history
  4. adjusted new_segment

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    20d0b54 View commit details
    Browse the repository at this point in the history
  5. added test cases, renamed rule to 69

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    cece598 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' of https://github.com/sqlfluff/sqlfluff into 3713…

    …/consistent_syntax_for_SQL_type_casting
    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    9cda200 View commit details
    Browse the repository at this point in the history
  7. added crawl_behaviour and updated functional

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    ebe121b View commit details
    Browse the repository at this point in the history
  8. fixed linting errors

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    03a74e6 View commit details
    Browse the repository at this point in the history
  9. fixed crawl_behaviour

    Bolaji Wahab committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    885b079 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. added config for rule L069

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    d9f00e6 View commit details
    Browse the repository at this point in the history
  2. added support for functional cast_expression in L013

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    972d791 View commit details
    Browse the repository at this point in the history
  3. skip L048 for cast_expression

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    8cf4337 View commit details
    Browse the repository at this point in the history
  4. allow non standard type casting in L034 fixtures

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    ea61481 View commit details
    Browse the repository at this point in the history
  5. added allow_non_standard_type_casting config for rule L069, updated t…

    …he documentations
    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    feb2cd9 View commit details
    Browse the repository at this point in the history
  6. regenerated fixture for jinja templater

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    fe7b88c View commit details
    Browse the repository at this point in the history
  7. added more test cases for rule L069

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    4579f81 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'main' of https://github.com/sqlfluff/sqlfluff into 3713…

    …/consistent_syntax_for_SQL_type_casting
    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    223c347 View commit details
    Browse the repository at this point in the history
  9. config type hints

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    7c289c7 View commit details
    Browse the repository at this point in the history
  10. skip teradata, updated documentation

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    a03b38d View commit details
    Browse the repository at this point in the history
  11. added test coverage for skipping teradata

    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    3c61bcc View commit details
    Browse the repository at this point in the history
  12. Merge branch 'main' of https://github.com/sqlfluff/sqlfluff into 3713…

    …/consistent_syntax_for_SQL_type_casting
    Bolaji Wahab committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    59108bd View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. discarded config override in L034 tests

    Bolaji Wahab committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    1f7933d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of https://github.com/sqlfluff/sqlfluff into 3713…

    …/consistent_syntax_for_SQL_type_casting
    Bolaji Wahab committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    51cca4c View commit details
    Browse the repository at this point in the history
  3. added cast_expression to L034

    Bolaji Wahab committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    875093d View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. added support for different type casting style

    Bolaji Wahab committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    ebeb4ad View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. added tests

    Bolaji Wahab committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    26afac7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Update src/sqlfluff/rules/L069.py

    Adjusted case
    
    Co-authored-by: Barry Hart <barrywhart@yahoo.com>
    bolajiwahab and barrywhart committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    bbff11a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Merge branch 'main' of github.com:sqlfluff/sqlfluff into 3713/consist…

    …ent_syntax_for_SQL_type_casting
    bolajiwahab committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    b70c6c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    552bfbc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5af5acf View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of github.com:sqlfluff/sqlfluff into 3713/consist…

    …ent_syntax_for_SQL_type_casting
    bolajiwahab committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    b880817 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. fixing linting errors

    bolajiwahab committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    4b9baf0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:sqlfluff/sqlfluff into 3713/consist…

    …ent_syntax_for_SQL_type_casting
    bolajiwahab committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    c26bd6f View commit details
    Browse the repository at this point in the history
  3. fixing linting errors

    bolajiwahab committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    e317b72 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. Merge branch 'main' of github.com:sqlfluff/sqlfluff into 3713/consist…

    …ent_syntax_for_SQL_type_casting
    bolajiwahab committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    f850373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90cfc3c View commit details
    Browse the repository at this point in the history
  3. added more tests

    bolajiwahab committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    457bcc2 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Update src/sqlfluff/dialects/dialect_ansi.py

    Co-authored-by: Barry Pollard <barrypollard@google.com>
    bolajiwahab and tunetheweb committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    0c5b485 View commit details
    Browse the repository at this point in the history
  2. Update src/sqlfluff/dialects/dialect_ansi.py

    Co-authored-by: Barry Pollard <barrypollard@google.com>
    bolajiwahab and tunetheweb committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    83e3d3f View commit details
    Browse the repository at this point in the history
  3. Update src/sqlfluff/dialects/dialect_ansi.py

    Co-authored-by: Barry Pollard <barrypollard@google.com>
    bolajiwahab and tunetheweb committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    3855660 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1fe15ca View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. Configuration menu
    Copy the full SHA
    d54506c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d30c05 View commit details
    Browse the repository at this point in the history