Skip to content

Commit

Permalink
query layer support
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 29, 2024
1 parent b336ac5 commit e9ea720
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nexus/analyzer/src/qrep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ const QREP_OPTIONS: &[QRepOptionType] = &[
default_value: false,
required: false,
},
QRepOptionType::String {
name: "watermark_query",
default_val: Some(""),
required: true,
accepted_values: None,
},
];

pub fn process_options(
Expand Down
1 change: 1 addition & 0 deletions nexus/flow-rs/src/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ impl FlowGrpcClient {
Value::String(s) => match key.as_str() {
"destination_table_name" => cfg.destination_table_identifier.clone_from(s),
"watermark_column" => cfg.watermark_column.clone_from(s),
"watermark_query" => cfg.watermark_query.clone_from(s),
"watermark_table_name" => cfg.watermark_table.clone_from(s),
"mode" => {
let mut wm = QRepWriteMode {
Expand Down

0 comments on commit e9ea720

Please sign in to comment.