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

no count/max keywords in spark sql parser g4 file? #2

Open
chengchengpei opened this issue Oct 1, 2022 · 8 comments
Open

no count/max keywords in spark sql parser g4 file? #2

chengchengpei opened this issue Oct 1, 2022 · 8 comments

Comments

@chengchengpei
Copy link

no count/max keywords in spark sql parser g4 file?

@melin
Copy link
Owner

melin commented Oct 2, 2022

Function name are not specifically used as keyword
image

@chengchengpei
Copy link
Author

so how to suggest key words like count?

@melin
Copy link
Owner

melin commented Oct 5, 2022

有一种方法,是对外查询接口,获取函数名信息,像spark 提供UDF 注册函数,函数名是不固定的。
dbeaver 有开源代码,也可以研究一下dbeaver的实现。

image

@chengchengpei
Copy link
Author

I plan to update g4 file...

@melin
Copy link
Owner

melin commented Oct 8, 2022

I plan to update g4 file...

方便加微信沟通?

@chengchengpei
Copy link
Author

I sent to your email. the first char is lower case. thanks

@chengchengpei
Copy link
Author

chengchengpei commented Dec 19, 2022

any idea about tunnelvisionlabs/antlr4ts#540 ?

你有完成代码提示功能开发?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants