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

Conversation

pawandubey
Copy link
Contributor

…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.

…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.
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.

1 participant