4paradigm / 4paradigm/OpenMLDB

ddl parser should return null if sql compile failed

Open
#3,890 0 comments 0 reactions 1 assignee Claimed by @vagetablechicken View on GitHub
bug
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

https://github.com/4paradigm/OpenMLDB/blob/e1369fb137602621bd41674077c5ab1c46b2d505/src/base/ddl_parser.cc#L122

We should check return value and status. Even the sql compile failed, the map `index_hints` may still have some index hints.

And it effect OpenMLDBSQLEmulator, release a new version, v1.1-beta

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.