Skip to content

Conversation

@rivudhk
Copy link
Contributor

@rivudhk rivudhk commented Jan 16, 2025

No description provided.

@rivudhk rivudhk requested a review from mihaibudiu January 16, 2025 10:33
# checked manually
self.data = [{"c1": Decimal("57681.18"), "c2": Decimal("873315.8")}]
self.sql = """CREATE MATERIALIZED VIEW real_arg_max AS SELECT
RF(ARG_MAX(c1, c2)) AS c1,
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to use RF for DECIMAL, only for REAL tests.
In fact, something is fishy here, since the result is a DECIMAL, and it should be a REAL if you call RF.

Copy link
Contributor Author

@rivudhk rivudhk Jan 27, 2025

Choose a reason for hiding this comment

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

In fact, something is fishy here, since the result is a DECIMAL, and it should be a REAL if you call RF.

@mihaibudiu since #3241 documents this edge case, we should be able to move forward with this PR. Please approve if you agree.

Copy link
Contributor

Choose a reason for hiding this comment

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

this is wrong, I will file an issue.

@mihaibudiu
Copy link
Contributor

what is the status of this PR?

@rivudhk rivudhk enabled auto-merge January 27, 2025 06:53
@rivudhk rivudhk requested a review from mihaibudiu January 27, 2025 06:53
@rivudhk rivudhk added this pull request to the merge queue Mar 13, 2025
@gz gz removed this pull request from the merge queue due to a manual request Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants