Skip to content

Conversation

@inoas
Copy link

@inoas inoas commented Oct 10, 2025

No description provided.

@inoas
Copy link
Author

inoas commented Oct 18, 2025

Could you approve to see the CI test failure?

@lpil
Copy link
Owner

lpil commented Oct 19, 2025

Done! The test seems quite large. Is there a smaller reproduction?

@inoas
Copy link
Author

inoas commented Oct 19, 2025

@lpil I have added this test because the problem appears for all these types (float, int, string, bool, calendar date) in my tests that I did via cake.

What do you think I should do? Make it 5 tests?
The AS selected_bool ... parts are optional I think I can remove those. They are just to map the numeric placeholders without thinking about it.

@inoas
Copy link
Author

inoas commented Oct 19, 2025

I also took a look at the source code bout wouldn't know where to add the conversion from literal values to typed postgres values, this should for now only happen for SELECT I think but there may be other statements that would require the types to be declared?

@lpil
Copy link
Owner

lpil commented Oct 20, 2025

I don't know what this PR is trying to show so I don't know how to answer the question. Is it 5 bugs specifically relating to those 5 data types?

@inoas
Copy link
Author

inoas commented Oct 20, 2025

I don't know what this PR is trying to show so I don't know how to answer the question. Is it 5 bugs specifically relating to those 5 data types?

Yes, all of them will crash currently, each single one.

@lpil
Copy link
Owner

lpil commented Oct 22, 2025

Can you make minimal reproductions for each bug then please

@lpil
Copy link
Owner

lpil commented Oct 24, 2025

All the tests passed!

@inoas
Copy link
Author

inoas commented Oct 25, 2025

@lpil that was unexpected, also why didn't the combined test then pass?

@inoas
Copy link
Author

inoas commented Oct 25, 2025

Please retrigger the CI. It should be red now.

TLDR: oh my... I fiddled around until docker compose + postgres ran locally for pog.
added a unit test with 2 cols... that showed the error.
Then realized by unit test functions do not have _test suffix in the function name, hence the unit tests passed before.

They should not pass anymore.

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.

2 participants