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

show compute nodes bug #83

Open
lldlhd opened this issue Jan 7, 2025 · 0 comments
Open

show compute nodes bug #83

lldlhd opened this issue Jan 7, 2025 · 0 comments

Comments

@lldlhd
Copy link

lldlhd commented Jan 7, 2025

    r := strings.NewReader(sql)
tokens := sqlparser.NewTokenizer(r)
for {
	stmt, err := sqlparser.ParseNext(tokens)
	var isQuery bool
	var sqlErr error
	if err != nil {
		if err == io.EOF {
			break
		}
	} 
     sqlparser.String(stmt),		
}

show compute nodes --> sqlparser.String(stmt), ---> show compute

@lldlhd lldlhd changed the title show compute nodes 预发解析有bug show compute nodes bug Jan 7, 2025
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

1 participant