-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
sqlite3def: Add support for virtual table #310
sqlite3def: Add support for virtual table #310
Conversation
👍
Is it the case on the latest version, v1.19.4 as well? What sqldef uses is old, so upgrading it might help. |
As far as I see in the article, it has not been implemented. // Virtual table support/example (#26) · Issues · cznic / sqlite · GitLab But I am trying modernc.org/sqlite v1.19.4 ... Wow it is working. While fts is not supported in v1.19.4,
rtree is available.
Virtual table feature itself seems to work while shadow tables must be added to skip_tables list. Therefore, I would like to delete the following block.
|
Nevertheless, I see no need to parse the details of virtual table DDLs, since alternation is not supported. // The Virtual Table Mechanism Of SQLite
|
Sure. Would you like to address that in this PR, or merge this first and then work on upgrading it? |
I will push additional commits to this PR. |
…rnation is not supported by sqlite)
Oops... |
Is this i386-windows only? If so, I guess we could drop i386-windows support and just leave x86_64-windows for sqlite3def. |
v1.19.1 dropped i386 Windows support https://gitlab.com/cznic/sqlite/-/tree/v1.19.1/lib https://gitlab.com/cznic/sqlite/-/commit/1b683acc8b500465bf058b2e8bf1e29096586563 I will drop “i386-windows” from test matrix. |
…org/sqlite v1.19.1 dropped i386 support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you so much!
So, I primarily maintain mysqldef and psqldef, ytakaya maintains mssqldef, and nobody really maintains sqlite3def. Given that your contributions have been so nice and it delivers a better result when somebody who really uses it maintains it, I'd like to make you the maintainer of sqlite3def if you wish. Would you be interested in maintaining sqlite3def, fixing and releasing it as you like? |
The series of fixes so far has made sqlite3def practical for my use, thank you. Should a maintainer supplement missing features and documentation, and to review PRs if needed? If so, I would like to be a maintainer. I am not a native English speaker so I will make incorrect wording in code and document. If you feel some sentence incorrect I would ask you to correct it without hesitation. |
Yes. Thank you! I invited you to be a collaborator in this repository, which should also allow you to release sqldef as well. I see that you already accepted it 🙂
No worries, I've had no problems communicating with you in English. Whether it's about English or not, I'll help conversations as needed. My expectations for the maintainer of sqlite3def are:
That's it. Please let me know if you have any questions. |
Thank you for detailed instruction. There are still many parts of the code that I do not understand, so I will gradually work. |
@k0kubun Could you permit me to push to master branch to update |
oh sorry, didn't notice you couldn't do that. I'll fix it today, but please use a pull request as a workaround until I fix it with my machine with YubiKey. |
OK, I dropped "Require status checks to pass before merging". You should now be able to push things to master directly. |
Thank you! |
I have added the support for virtual table but it is only to parse DDLs because the feature is not supported by modernc.org/sqlite package. This enables to export and add virtual tables and shadow ones to skip_tables list.