-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Migrate user_defined tests to insta #15255
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1d7de54
migrate user_defined tests to insta
shruti2522 b35d630
Merge branch 'main' into insta_user
shruti2522 b0d18df
fix tests
shruti2522 46bb92f
test
shruti2522 40b9a12
fmt
shruti2522 1e4d20f
update snaps
shruti2522 08ebef5
add snaps
shruti2522 d695e53
add snaps
shruti2522 259aedd
add inline snapshots
shruti2522 fe1447c
fix
shruti2522 5d4ada3
remove snaps
shruti2522 c6cdabd
Reuse batches_to_stirng
alamb 6f86fe5
Merge remote-tracking branch 'apache/main' into insta_user
alamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...apshots/user_defined_integration__user_defined__expr_planner__custom_operators_arrow.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/expr_planner.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +----------------------------+ | ||
| | Utf8("foo") || Utf8("bar") | | ||
| +----------------------------+ | ||
| | foobar | | ||
| +----------------------------+ |
9 changes: 9 additions & 0 deletions
9
...ts/user_defined_integration__user_defined__expr_planner__custom_operators_long_arrow.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/expr_planner.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +---------------------+ | ||
| | Int64(1) + Int64(2) | | ||
| +---------------------+ | ||
| | 3 | | ||
| +---------------------+ |
9 changes: 9 additions & 0 deletions
9
...ined/snapshots/user_defined_integration__user_defined__expr_planner__question_filter.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/expr_planner.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +---+ | ||
| | a | | ||
| +---+ | ||
| | 1 | | ||
| +---+ |
9 changes: 9 additions & 0 deletions
9
...ined/snapshots/user_defined_integration__user_defined__expr_planner__question_select.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/expr_planner.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +--------------+ | ||
| | a ? Int64(2) | | ||
| +--------------+ | ||
| | true | | ||
| +--------------+ |
9 changes: 9 additions & 0 deletions
9
...defined__user_defined_aggregates__case_sensitive_identifiers_user_defined_aggregates.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +-------------+ | ||
| | MY_AVG(t.i) | | ||
| +-------------+ | ||
| | 1.0 | | ||
| +-------------+ |
9 changes: 9 additions & 0 deletions
9
...ined_integration__user_defined__user_defined_aggregates__parameterized_aggregate_udf.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +------+---+---+ | ||
| | text | a | b | | ||
| +------+---+---+ | ||
| | foo | 1 | 2 | | ||
| +------+---+---+ |
13 changes: 13 additions & 0 deletions
13
...ned/snapshots/user_defined_integration__user_defined__user_defined_aggregates__setup.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +-------+----------------------------+ | ||
| | value | time | | ||
| +-------+----------------------------+ | ||
| | 2.0 | 1970-01-01T00:00:00.000002 | | ||
| | 3.0 | 1970-01-01T00:00:00.000003 | | ||
| | 1.0 | 1970-01-01T00:00:00.000004 | | ||
| | 5.0 | 1970-01-01T00:00:00.000005 | | ||
| | 5.0 | 1970-01-01T00:00:00.000005 | | ||
| +-------+----------------------------+ |
9 changes: 9 additions & 0 deletions
9
...apshots/user_defined_integration__user_defined__user_defined_aggregates__simple_udaf.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +-------------+ | ||
| | my_avg(t.a) | | ||
| +-------------+ | ||
| | 3.0 | | ||
| +-------------+ |
9 changes: 9 additions & 0 deletions
9
...ined/snapshots/user_defined_integration__user_defined__user_defined_aggregates__udaf.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +----------------------------+ | ||
| | time_sum(t.time) | | ||
| +----------------------------+ | ||
| | 1970-01-01T00:00:00.000019 | | ||
| +----------------------------+ |
13 changes: 13 additions & 0 deletions
13
...hots/user_defined_integration__user_defined__user_defined_aggregates__udaf_as_window.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +----------------------------+ | ||
| | time_sum | | ||
| +----------------------------+ | ||
| | 1970-01-01T00:00:00.000019 | | ||
| | 1970-01-01T00:00:00.000019 | | ||
| | 1970-01-01T00:00:00.000019 | | ||
| | 1970-01-01T00:00:00.000019 | | ||
| | 1970-01-01T00:00:00.000019 | | ||
| +----------------------------+ |
13 changes: 13 additions & 0 deletions
13
...efined_integration__user_defined__user_defined_aggregates__udaf_as_window_with_frame.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +----------------------------+ | ||
| | time_sum | | ||
| +----------------------------+ | ||
| | 1970-01-01T00:00:00.000005 | | ||
| | 1970-01-01T00:00:00.000009 | | ||
| | 1970-01-01T00:00:00.000012 | | ||
| | 1970-01-01T00:00:00.000014 | | ||
| | 1970-01-01T00:00:00.000010 | | ||
| +----------------------------+ |
9 changes: 9 additions & 0 deletions
9
...er_defined_integration__user_defined__user_defined_aggregates__udaf_returning_struct.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +------------------------------------------------+ | ||
| | first(t.value,t.time) | | ||
| +------------------------------------------------+ | ||
| | {value: 2.0, time: 1970-01-01T00:00:00.000002} | | ||
| +------------------------------------------------+ |
9 changes: 9 additions & 0 deletions
9
...d_integration__user_defined__user_defined_aggregates__udaf_returning_struct_subquery.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +-----------------+----------------------------+ | ||
| | sq.first[value] | sq.first[time] | | ||
| +-----------------+----------------------------+ | ||
| | 2.0 | 1970-01-01T00:00:00.000002 | | ||
| +-----------------+----------------------------+ |
9 changes: 9 additions & 0 deletions
9
...efined_integration__user_defined__user_defined_aggregates__udaf_shadows_builtin_fn-2.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +----------------------------+ | ||
| | sum(t.time) | | ||
| +----------------------------+ | ||
| | 1970-01-01T00:00:00.000019 | | ||
| +----------------------------+ |
9 changes: 9 additions & 0 deletions
9
..._defined_integration__user_defined__user_defined_aggregates__udaf_shadows_builtin_fn.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +---------------------------------------+ | ||
| | sum(arrow_cast(t.time,Utf8("Int64"))) | | ||
| +---------------------------------------+ | ||
| | 19000 | | ||
| +---------------------------------------+ |
9 changes: 9 additions & 0 deletions
9
...egration__user_defined__user_defined_aggregates__user_defined_functions_with_alias-2.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&alias_result) | ||
| --- | ||
| +------------+ | ||
| | dummy(t.i) | | ||
| +------------+ | ||
| | 1.0 | | ||
| +------------+ |
9 changes: 9 additions & 0 deletions
9
...ntegration__user_defined__user_defined_aggregates__user_defined_functions_with_alias.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_aggregates.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +------------+ | ||
| | dummy(t.i) | | ||
| +------------+ | ||
| | 1.0 | | ||
| +------------+ |
12 changes: 12 additions & 0 deletions
12
...ots/user_defined_integration__user_defined__user_defined_plan__query_Default_context.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_plan.rs | ||
| description: Default context | ||
| expression: actual | ||
| --- | ||
| +-------------+---------+ | ||
| | customer_id | revenue | | ||
| +-------------+---------+ | ||
| | paul | 300 | | ||
| | jorge | 200 | | ||
| | andy | 150 | | ||
| +-------------+---------+ |
12 changes: 12 additions & 0 deletions
12
..._integration__user_defined__user_defined_plan__query_Default_context_without_schemas.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_plan.rs | ||
| description: Default context without schemas | ||
| expression: actual | ||
| --- | ||
| +----------+----------+ | ||
| | column_1 | column_2 | | ||
| +----------+----------+ | ||
| | andrew | 100 | | ||
| | jorge | 200 | | ||
| | andy | 150 | | ||
| +----------+----------+ |
10 changes: 10 additions & 0 deletions
10
...hots/user_defined_integration__user_defined__user_defined_plan__query_MyAnalyzerRule.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_plan.rs | ||
| description: MyAnalyzerRule | ||
| expression: actual | ||
| --- | ||
| +------------+--------------------------+ | ||
| | UInt64(42) | arrow_typeof(UInt64(42)) | | ||
| +------------+--------------------------+ | ||
| | 42 | UInt64 | | ||
| +------------+--------------------------+ |
12 changes: 12 additions & 0 deletions
12
...pshots/user_defined_integration__user_defined__user_defined_plan__query_Topk_context.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_plan.rs | ||
| description: Topk context | ||
| expression: actual | ||
| --- | ||
| +-------------+---------+ | ||
| | customer_id | revenue | | ||
| +-------------+---------+ | ||
| | paul | 300 | | ||
| | jorge | 200 | | ||
| | andy | 150 | | ||
| +-------------+---------+ |
9 changes: 9 additions & 0 deletions
9
...ed__user_defined_scalar_functions__case_sensitive_identifiers_user_defined_functions.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +--------------+ | ||
| | MY_FUNC(t.i) | | ||
| +--------------+ | ||
| | 1 | | ||
| +--------------+ |
9 changes: 9 additions & 0 deletions
9
...defined_integration__user_defined__user_defined_scalar_functions__csv_query_avg_sqrt.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +------------------------------------------+ | ||
| | avg(custom_sqrt(aggregate_test_100.c12)) | | ||
| +------------------------------------------+ | ||
| | 0.6706002946036459 | | ||
| +------------------------------------------+ |
9 changes: 9 additions & 0 deletions
9
...gration__user_defined__user_defined_scalar_functions__csv_query_custom_udf_with_cast.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&actual) | ||
| --- | ||
| +------------------------------------------+ | ||
| | avg(custom_sqrt(aggregate_test_100.c11)) | | ||
| +------------------------------------------+ | ||
| | 0.6584408483418835 | | ||
| +------------------------------------------+ |
12 changes: 12 additions & 0 deletions
12
...ts/user_defined_integration__user_defined__user_defined_scalar_functions__scalar_udf.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +-----+-----+-----------------+ | ||
| | a | b | my_add(t.a,t.b) | | ||
| +-----+-----+-----------------+ | ||
| | 1 | 2 | 3 | | ||
| | 10 | 12 | 22 | | ||
| | 10 | 12 | 22 | | ||
| | 100 | 120 | 220 | | ||
| +-----+-----+-----------------+ |
9 changes: 9 additions & 0 deletions
9
...defined__user_defined_scalar_functions__scalar_udf_override_built_in_scalar_function.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +---+ | ||
| | a | | ||
| +---+ | ||
| | 1 | | ||
| +---+ |
9 changes: 9 additions & 0 deletions
9
...d_integration__user_defined__user_defined_scalar_functions__scalar_udf_zero_params-2.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +-----+ | ||
| | a | | ||
| +-----+ | ||
| | 100 | | ||
| +-----+ |
6 changes: 6 additions & 0 deletions
6
...d_integration__user_defined__user_defined_scalar_functions__scalar_udf_zero_params-3.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| ++ | ||
| ++ |
12 changes: 12 additions & 0 deletions
12
...ned_integration__user_defined__user_defined_scalar_functions__scalar_udf_zero_params.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&result) | ||
| --- | ||
| +-----+ | ||
| | a | | ||
| +-----+ | ||
| | 100 | | ||
| | 100 | | ||
| | 100 | | ||
| | 100 | | ||
| +-----+ |
9 changes: 9 additions & 0 deletions
9
...on__user_defined__user_defined_scalar_functions__user_defined_functions_with_alias-2.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| source: datafusion/core/tests/user_defined/user_defined_scalar_functions.rs | ||
| expression: fmt_batches(&alias_result) | ||
| --- | ||
| +------------+ | ||
| | dummy(t.i) | | ||
| +------------+ | ||
| | 1 | | ||
| +------------+ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can we use
batches_to_stringfor that?