-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add snowflake frontend protocol / backend #15
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
1dd8e6b
0b43d45
41d20eb
0292abd
214b5ab
a8bc52e
e8fde60
85bfe34
4950152
32ada8a
a0f23ae
0897919
b5b13f7
ad6d898
39dbbf1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -322,6 +322,10 @@ pub struct FrontendsConfig { | |
| pub clickhouse_http: Option<FrontendConfig>, | ||
| #[serde(default)] | ||
| pub flight_sql: Option<FrontendConfig>, | ||
| #[serde(default)] | ||
| pub snowflake_http: Option<FrontendConfig>, | ||
| #[serde(default)] | ||
| pub snowflake_sql_api: Option<FrontendConfig>, | ||
| } | ||
|
Comment on lines
+322
to
335
|
||
|
|
||
| #[derive(Debug, Clone, Serialize, Deserialize)] | ||
|
|
@@ -648,6 +652,12 @@ pub enum RouterConfig { | |
| mysql_wire: Option<String>, | ||
| #[serde(default)] | ||
| clickhouse_http: Option<String>, | ||
| #[serde(default)] | ||
| flight_sql: Option<String>, | ||
| #[serde(default)] | ||
| snowflake_http: Option<String>, | ||
| #[serde(default)] | ||
| snowflake_sql_api: Option<String>, | ||
| }, | ||
| #[serde(rename_all = "camelCase")] | ||
| Header { | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -32,3 +32,10 @@ arrow-flight = { version = "58.1.0", features = ["flight-sql"] } | |||||||
| arrow-ipc = "58.1.0" | ||||||||
| tonic = { version = "0.14.5", features = ["transport"] } | ||||||||
| prost = "0.14.3" | ||||||||
| dashmap = { workspace = true } | ||||||||
| jsonwebtoken = "9" | ||||||||
| rsa = "0.9" | ||||||||
| sha2 = "0.10" | ||||||||
|
Comment on lines
+36
to
+38
|
||||||||
| jsonwebtoken = "9" | |
| rsa = "0.9" | |
| sha2 = "0.10" |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -250,6 +250,18 @@ pub fn build_frontends_status( | |||||
| "Arrow Flight SQL / gRPC-style access (driver-dependent).", | ||||||
| frontends.flight_sql.as_ref(), | ||||||
| ), | ||||||
| opt_fe( | ||||||
| "snowflake_http", | ||||||
| "Snowflake HTTP (wire)", | ||||||
| "Snowflake internal HTTP wire protocol (JDBC/ODBC/Python/Go/Node.js connectors).", | ||||||
| frontends.snowflake_http.as_ref(), | ||||||
| ), | ||||||
| opt_fe( | ||||||
| "snowflake_sql_api", | ||||||
| "Snowflake SQL API", | ||||||
| "Snowflake REST SQL API v2 (POST /api/v2/statements).", | ||||||
| frontends.snowflake_sql_api.as_ref(), | ||||||
|
||||||
| frontends.snowflake_sql_api.as_ref(), | |
| frontends.snowflake_http.as_ref(), |
Uh oh!
There was an error while loading. Please reload this page.