Title: Use MySQL 9 in docker-compose.yml by vvakame · Pull Request #3944 · sqlc-dev/sqlc · GitHub
Open Graph Title: Use MySQL 9 in docker-compose.yml by vvakame · Pull Request #3944 · sqlc-dev/sqlc
X Title: Use MySQL 9 in docker-compose.yml by vvakame · Pull Request #3944 · sqlc-dev/sqlc
Description: I got an error when execute make test in my local env with make start. --- FAIL: TestValidSchema (0.19s) --- FAIL: TestValidSchema/endtoend-testdata/mysql_vector/mysql/sqlc.json-0 (0.02s) ddl_test.go:56: CREATE TABLE foo( id INT PRIMARY KEY auto_increment, embedding VECTOR(4) );: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VECTOR(4) )' at line 3 I am not familiar with MySQL, but from what I've researched, VECTOR data type appears to be supported from version 9 1. sqlc's CI workflow uses version 9 too 2. Footnotes https://dev.mysql.com/doc/relnotes/mysql/9.0/en/news-9-0-0.html#mysqld-9-0-0-vectors ↩ https://github.com/sqlc-dev/sqlc/blob/v1.29.0/.github/workflows/ci.yml#L64 ↩
Open Graph Description: I got an error when execute make test in my local env with make start. --- FAIL: TestValidSchema (0.19s) --- FAIL: TestValidSchema/endtoend-testdata/mysql_vector/mysql/sqlc.json-0 (0.02s) ...
X Description: I got an error when execute make test in my local env with make start. --- FAIL: TestValidSchema (0.19s) --- FAIL: TestValidSchema/endtoend-testdata/mysql_vector/mysql/sqlc.json-0 (0.02s) ...
Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/3944
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:10491173-f94b-19e3-e60a-f1598495d3bd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 96A8:3F3AF6:2BD6D2D:3BD0D49:6A505DC7 |
| html-safe-nonce | 51f2d86ed06ce3b4433f90ada8f364d159d6594df69c85a18f138fbf1798f6a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkE4OjNGM0FGNjoyQkQ2RDJEOjNCRDBENDk6NkE1MDVEQzciLCJ2aXNpdG9yX2lkIjoiMTY1MzY4MzExNTM3NzUzNTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6e97278d5f82b4c9ee438deeff5b0bddc7f169beab09cf48a9ccb48666023745 |
| hovercard-subject-tag | pull_request:2485438945 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/3944/files |
| twitter:image | https://avatars.githubusercontent.com/u/125332?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/125332?s=400&v=4 |
| og:image:alt | I got an error when execute make test in my local env with make start. --- FAIL: TestValidSchema (0.19s) --- FAIL: TestValidSchema/endtoend-testdata/mysql_vector/mysql/sqlc.json-0 (0.02s) ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width