Skip to content

Question about the query standardization #33

Open

Description

@unliftedq

I want to know when the work on the query standardization will begin, is there a plan on it ? And, is there a sql style-guide you follow, so others could help with it.

Activity

  1. h4v0kh3l1 commented on Apr 4, 2018

    @h4v0kh3l1
    Contributor

    Short answer, it begins when you and I start on it.

    Right now, the points in the FUTURE.md are great ideas that will definitely benefit the project, but haven't been started.

    Specifically for query standardization, there's two missing components. We need the rendering capability, to convert ASTs back into queries, and we need a representation of all the whitespace and style variables in a query. From there, we can start making a plan.

    A quick search online shows that there's a million and one ways to correctly style SQL. We could go the gofmt route and pick one to enforce everywhere, or we could be flexible and have customizable style rules. Again, all part of planning.

    I'd like to know what you think. Unfortunately, I'm not in a position right now to actively develop these awesome features, but I'm more than happy to work with you and other contributors to make these a reality.

  2. dlthomas commented on Apr 4, 2018

    @dlthomas
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions