Skip to content

Commit

Permalink
* FIX [parquet] fixed parquet conf error.
Browse files Browse the repository at this point in the history
Signed-off-by: xinyi-xs <[email protected]>
  • Loading branch information
xinyi-xs committed Jan 15, 2025
1 parent f8766b6 commit cce3247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/nng/supplemental/nanolib/conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ struct conf_parquet {
char *name;
char *dir;
char *file_name_prefix;
uint8_t file_count;
uint32_t file_count;
uint32_t limit_frequency;
uint8_t file_index;
int32_t file_size;
Expand Down
2 changes: 2 additions & 0 deletions src/supplemental/nanolib/conf_ver2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,8 @@ conf_parquet_parse_ver2(conf *config, conf_exchange_node *node, cJSON *jso)
hocon_read_enum(encryption, type,
jso_parquet_encryption, encryption_type);
}

config->parquet.enable = true;
} else {
// Use the default settings. One should be careful when it's free.
node->parquet = &config->parquet;
Expand Down

0 comments on commit cce3247

Please sign in to comment.