Skip to content
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

WIP assertion on json type with a floating point value with zero fractional part #353

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 29, 2024

  1. WIP assertion on json type with a floating point value with zero frac…

    …tional part
    
    Go test (passes): `DEBUG=1 go test ./... -v -run='TestDMLEventsTestSuite'`
    Ruby integration test (fails):
    ```
    DEBUG=1 bundle exec ruby test/main.rb -v -n "TypesTest#test_json_data_update" && DEBUG=1 bundle exec ruby test/main.rb -v -n "TypesTest#test_json_data_insert"
    ```
    
    This means that if the right value is supplied to the ghostferry types, it generates the correct statement
    (hence the go unit test passes) but if it gets bad values from the go-mysql-org library, it fails as expected.
    pawandubey committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    d7686d5 View commit details
    Browse the repository at this point in the history