-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[ODBC SCAN NODE] 1/4 Add unix odbc library. #4377
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I will check it in my local env, and will update the docker dev image first.
thirdparty/build-thirdparty.sh
Outdated
@@ -692,6 +705,7 @@ build_cctz() { | |||
# we just comment it, instead of remove it. | |||
# build_llvm | |||
|
|||
build_libodbc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build_libodbc | |
build_libunixodbc |
be/test/exec/unix_odbc_test.cpp
Outdated
// specific language governing permissions and limitations | ||
// under the License. | ||
|
||
#include "odbc/sql.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include "odbc/sql.h" | |
#include "sql.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be <odbc/sql.h> or <sql.h>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sql.h
is in thirdparty/installed/included
, so it should be "sql.h"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think only Doris own code use ""
, for third-party code use <>
.
Glog, protobuf are all in the thirdparty, however we inlcude them with ""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I misunderstood.
yes, it should be <>
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
issue:#4376
Proposed changes
Add unix odbc library for ODBC Scan Node
Types of changes
What types of changes does your code introduce to Doris?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.