Title: Deprecate `ignore_errors` and alternate implementation of `skip_duplicates` · Issue #382 · datajoint/datajoint-python · GitHub
Open Graph Title: Deprecate `ignore_errors` and alternate implementation of `skip_duplicates` · Issue #382 · datajoint/datajoint-python
X Title: Deprecate `ignore_errors` and alternate implementation of `skip_duplicates` · Issue #382 · datajoint/datajoint-python
Description: After closer investigation of MySQL's IGNORE modifier effects (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#Comparison-of-the-IGNORE-Keyword-and-Strict-SQL-Mode) which lies at the heart of #347, I believe that the flag ignore_er...
Open Graph Description: After closer investigation of MySQL's IGNORE modifier effects (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#Comparison-of-the-IGNORE-Keyword-and-Strict-SQL-Mode) which lies at the heart of...
X Description: After closer investigation of MySQL's IGNORE modifier effects (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#Comparison-of-the-IGNORE-Keyword-and-Strict-SQL-Mode) which lies at the hear...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/382
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate `ignore_errors` and alternate implementation of `skip_duplicates`","articleBody":"After closer investigation of MySQL's `IGNORE` modifier effects (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#Comparison-of-the-IGNORE-Keyword-and-Strict-SQL-Mode) which lies at the heart of #347, I believe that the flag `ignore_errors` and current implementation of `skip_duplicates` can have undesired side effect on the database content. Given this I propose the following changes:\r\n\r\n* Completely deprecate use of `ignore_errors` - users should employ Python's `try...except` logic to handle errors appropriately instead\r\n* Change implementation of `skip_duplicates` such that only `duplicated entry`-related warnings would be suppressed.","author":{"url":"https://github.com/eywalker","@type":"Person","name":"eywalker"},"datePublished":"2017-10-23T22:33:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/382/datajoint-python/issues/382"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:62efa317-5ff0-9ff4-d35a-4a249f0cffd7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97A0:35FB06:D0BEC2:11EB43E:6A4DCBFD |
| html-safe-nonce | d57855ac687c6fa5ef96b59d56b216cd073385ab9d98c2278c299311630a14a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0EwOjM1RkIwNjpEMEJFQzI6MTFFQjQzRTo2QTREQ0JGRCIsInZpc2l0b3JfaWQiOiIxNDk4NTY5NjYzOTM5NzI2MzM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 58a24a466da3f2a203975d09c1ffd210642cd9a5fede70db4fac039b719ef162 |
| hovercard-subject-tag | issue:267838897 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/datajoint/datajoint-python/382/issue_layout |
| twitter:image | https://opengraph.githubassets.com/329a38831849f7719456166181cb0abbb3412a547b1dd7f87fa3b399e7389535/datajoint/datajoint-python/issues/382 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/329a38831849f7719456166181cb0abbb3412a547b1dd7f87fa3b399e7389535/datajoint/datajoint-python/issues/382 |
| og:image:alt | After closer investigation of MySQL's IGNORE modifier effects (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#Comparison-of-the-IGNORE-Keyword-and-Strict-SQL-Mode) which lies at the heart of... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eywalker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width