Skip to content

Commit d5c84c2

Browse files
committed
lint
1 parent 52fd8b0 commit d5c84c2

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/json_length.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ make_udf_function!(
1616
JsonLength,
1717
json_length,
1818
json_data path,
19-
r#"Get the length of the array or object at the given path."#,
19+
r"Get the length of the array or object at the given path.",
2020
Sortedness::Unspecified
2121
);
2222

2323
make_udf_function!(
2424
JsonLength,
2525
json_length_top_level_sorted,
2626
json_data path,
27-
r#"Get the length of the array or object at the given path; assumes the JSON object's keys are sorted."#,
27+
r"Get the length of the array or object at the given path; assumes the JSON object's keys are sorted.",
2828
Sortedness::TopLevel
2929
);
3030

3131
make_udf_function!(
3232
JsonLength,
3333
json_length_recursive_sorted,
3434
json_data path,
35-
r#"Get the length of the array or object at the given path; assumes all object's keys are sorted."#,
35+
r"Get the length of the array or object at the given path; assumes all object's keys are sorted.",
3636
Sortedness::Recursive
3737
);
3838

src/json_object_keys.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ make_udf_function!(
1616
JsonObjectKeys,
1717
json_object_keys,
1818
json_data path,
19-
r#"Get the keys of a JSON object as an array."#,
19+
r"Get the keys of a JSON object as an array.",
2020
Sortedness::Unspecified
2121
);
2222

2323
make_udf_function!(
2424
JsonObjectKeys,
2525
json_keys_sorted,
2626
json_data path,
27-
r#"Get the keys of a JSON object as an array; assumes the JSON object's keys are sorted."#,
27+
r"Get the keys of a JSON object as an array; assumes the JSON object's keys are sorted.",
2828
Sortedness::TopLevel
2929
);
3030

3131
make_udf_function!(
3232
JsonObjectKeys,
3333
json_keys_recursive_sorted,
3434
json_data path,
35-
r#"Get the keys of a JSON object as an array; assumes all object's keys are sorted."#,
35+
r"Get the keys of a JSON object as an array; assumes all object's keys are sorted.",
3636
Sortedness::Recursive
3737
);
3838

tests/utils/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub async fn create_context() -> Result<SessionContext> {
2020
Ok(ctx)
2121
}
2222

23+
#[expect(clippy::too_many_lines)]
2324
async fn create_test_table(large_utf8: bool, dict_encoded: bool) -> Result<SessionContext> {
2425
let ctx = create_context().await?;
2526

0 commit comments

Comments
 (0)