https://github.com/apachecn-archive/sql-parser

https://github.com/apachecn-archive/sql-parser

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (0.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: apachecn-archive
  • License: apache-2.0
  • Language: ANTLR
  • Default Branch: master
  • Size: 85 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

sql-parser

【学习使用】【仅做参考】

基于antlr4的sql解析,实现格式化,元数据,血源等自定义解析,包括hive

说明文章

基于antlr4实现HQL的解析[元数据]

基于antlr4实现hiveSQL的解析[表血缘和字段血缘]

基于antlr4实现HQL的解析[格式化]

使用说明

下载安装antlr4

idea装antlr4插件调试 cn.ganjiacheng.antlr.xxx.g4 中的规则

拉下来项目代码,运行Application

Owner

  • Name: ApacheCN 归档
  • Login: apachecn-archive
  • Kind: organization
  • Email: wizard.z@qq.com

防止重要项目丢失而设立的归档

GitHub Events

Total
Last Year

Dependencies

pom.xml maven
  • com.alibaba:fastjson 1.2.75
  • org.antlr:antlr4-maven-plugin 4.9.1
  • org.antlr:antlr4-runtime 4.9.1
  • org.slf4j:slf4j-api 1.7.30
  • org.slf4j:slf4j-simple 1.7.30
  • junit:junit 4.11 test