GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Postgresql "ANALYZE table" not supported? · Issue #1579 · JSQLParser/JSqlParser

Postgresql "ANALYZE table" not supported? #1579

New issue
Copy link
New issue
Copy link
Closed
Closed
Postgresql "ANALYZE table" not supported?#1579
Copy link

Description

@d2a-raudenaerde
d2a-raudenaerde
opened on Jul 1, 2022
Issue body actions

I'm trying to parse a sql-script with multiple statements, and some statements are analyze sometable statements. These are not recognized by the parser?

See for the syntax:
https://www.postgresql.org/docs/current/sql-analyze.html

Simple test:

        CCJSqlParser parser = newParser("analyze table1");
        parser.withAllowComplexParsing(true);
        for (Statement st :parser.Statements().getStatements())
        {
            System.out.println(st);
        }

Activity

  1. wumpz commented on Jul 7, 2022

    @wumpz
    wumpz
    on Jul 7, 2022
    Member
    More actions

    Thats right. JSqlParser does not know this. PRs are welcome.

  2. d2a-raudenaerde commented on Jul 8, 2022

    @d2a-raudenaerde
    d2a-raudenaerde
    on Jul 8, 2022
    ContributorAuthor
    More actions

    Working on it :)

  3. d2a-raudenaerde
    added a commit that references this issue on Jul 8, 2022

    Closes JSQLParser#1579. Added ANALYZE <table> support.

    This issue will close once commit a01a097 is merged into the 'master' branch.
    a01a097
  4. wumpz
    closed this as completedin e5c8a89on Jul 14, 2022
  5. yadedoo
    added a commit that references this issue on May 11, 2024

    Closes JSQLParser#1579. Added ANALYZE <table> support. (JSQLParser#1587)

    This issue will close once commit e5c8a89 is merged into the 'master' branch.
    e5c8a89
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

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.