Skip to content

Feat: Add function flipCoordinates - #79634

Merged
bharatnc merged 22 commits into
ClickHouse:masterfrom
sachinkumarsingh092:79469-function-flipCoordinates
Nov 15, 2025
Merged

bharatnc merged 22 commits into
ClickHouse:masterfrom
sachinkumarsingh092:79469-function-flipCoordinates

Conversation

@sachinkumarsingh092

@sachinkumarsingh092 sachinkumarsingh092 commented Apr 26, 2025 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Add flipCoordinates function that unwraps the required number of dimensions in an array and swaps pointers inside the Tuple column. Resolves #79469

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Details

Added flipCoordinates function along with tests and docs.

Fixes: #79469

@clickhouse-gh

clickhouse-gh Bot commented Apr 26, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [030f08ab]

@clickhouse-gh clickhouse-gh Bot added the pr-feature Pull request with new product feature label Apr 26, 2025
@nikitamikhaylov nikitamikhaylov added the can be tested Allows running workflows for external contributors label Apr 26, 2025
@yariks5s yariks5s self-assigned this Apr 27, 2025
@sachinkumarsingh092
sachinkumarsingh092 force-pushed the 79469-function-flipCoordinates branch from 7dedbdf to 4924168 Compare April 29, 2025 10:01
@sachinkumarsingh092

sachinkumarsingh092 commented Apr 29, 2025 •

Copy link
Copy Markdown
Contributor Author

The Fast tests are failing for 02415_all_new_functions_must_be_documented:
I've pushed the results after rebasing and running it locally.

I also am not sure if length(description) < 10 check here should still be relevant (https://github.com/ClickHouse/ClickHouse/blob/master/tests/queries/0_stateless/02415_all_new_functions_must_be_documented.sql#L3). Should we still assert for less than 10 chars for description?
Even the README example doesn't implies this: https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/README.md

@@ -82,9 +82,6 @@ addQuarters
addSeconds
addWeeks
addYears
addressToLine

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw these but when I run that tests locally, this is what I get as an output. I can revert them to pass the test.

@sachinkumarsingh092

Copy link
Copy Markdown
Contributor Author

I took a look again and the failures seems to be unrelated?
cc @bharatnc

Comment thread src/Functions/flipCoordinates.cpp Resolved
Comment thread src/Functions/flipCoordinates.cpp Resolved
Comment thread src/Functions/flipCoordinates.cpp Resolved
Comment thread src/Functions/flipCoordinates.cpp Resolved
Comment thread src/Functions/flipCoordinates.cpp Resolved
@yariks5s

Copy link
Copy Markdown
Member

LGTM, thanks! Let's wait until tests are passed.

@yariks5s

yariks5s commented Jun 2, 2025

Copy link
Copy Markdown
Member

Please update your branch with master

@sachinkumarsingh092
sachinkumarsingh092 force-pushed the 79469-function-flipCoordinates branch from 7065220 to c9d1dce Compare June 3, 2025 07:24
@sachinkumarsingh092

Copy link
Copy Markdown
Contributor Author

Sorry I forgot to update your commits and force pushed. Can you please push your commits too?

@yariks5s

yariks5s commented Jun 6, 2025

Copy link
Copy Markdown
Member

Tbh, I forgot what I pushed earlier here, but the PR looks good.

@clickhouse-gh

clickhouse-gh Bot commented Jun 17, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [64dcd6c]

Summary: ❌

job_name test_name status info comment
Stateless tests (arm_binary, parallel) failure
03562_parallel_replicas_remote_with_cluster FAIL cidb, flaky
BuzzHouse (amd_debug) failure
Buzzing result failure cidb
BuzzHouse (amd_msan) failure
Buzzing result failure cidb
BuzzHouse (amd_ubsan) failure
Buzzing result failure cidb

@yariks5s

Copy link
Copy Markdown
Member

could you please update one more time?

@yariks5s

Copy link
Copy Markdown
Member

May I ask you to merge with master again?🙂

@sachinkumarsingh092
sachinkumarsingh092 force-pushed the 79469-function-flipCoordinates branch from be78eb0 to c9d1dce Compare July 23, 2025 15:12
@clickhouse-gh

clickhouse-gh Bot commented Aug 26, 2025

Copy link
Copy Markdown
Contributor

Dear @yariks5s, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@yariks5s yariks5s self-assigned this Sep 10, 2025
@yariks5s

yariks5s commented Oct 6, 2025

Copy link
Copy Markdown
Member

Fast test failure looks very strange. @sachinkumarsingh092 Could I ask you to update with master please?

@clickhouse-gh

clickhouse-gh Bot commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

Dear @yariks5s, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@bharatnc

bharatnc commented Nov 15, 2025 •

Copy link
Copy Markdown
Contributor

Test failure not related:

@bharatnc

Copy link
Copy Markdown
Contributor

Buzzhouse failures also don't seem related.

@bharatnc
bharatnc added this pull request to the merge queue Nov 15, 2025
@bharatnc bharatnc self-assigned this Nov 15, 2025
Merged via the queue into ClickHouse:master with commit c5eac3a Nov 15, 2025
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-feature Pull request with new product feature pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Function flipCoordinates

5 participants