Title: -ignore_errors flag for schema conversion as well · Issue #173 · dalibo/sqlserver2pgsql · GitHub
Open Graph Title: -ignore_errors flag for schema conversion as well · Issue #173 · dalibo/sqlserver2pgsql
X Title: -ignore_errors flag for schema conversion as well · Issue #173 · dalibo/sqlserver2pgsql
Description: Hi Team, The current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause. Example Cannot determine the PostgreSQL's datatype corresponding to hierarchyid. This is a bug at ./sqlserver2pgsq...
Open Graph Description: Hi Team, The current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause. Example Cannot determine the PostgreSQL's datatype corresponding to hierar...
X Description: Hi Team, The current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause. Example Cannot determine the PostgreSQL's datatype corresponding to hi...
Opengraph URL: https://github.com/dalibo/sqlserver2pgsql/issues/173
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"-ignore_errors flag for schema conversion as well","articleBody":"Hi Team,\r\nThe current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause. \r\nExample\r\n```\r\nCannot determine the PostgreSQL's datatype corresponding to hierarchyid. This is a bug\r\n at ./sqlserver2pgsql.pl line 379, \u003c$file\u003e line 690.\r\n\tmain::convert_type('hierarchyid', undef, 'OrganizationNode', 'Employee', undef, 'HumanResources') called at ./sqlserver2pgsql.pl line 1424\r\n\tmain::add_column_to_table('HumanResources', 'Employee', 'OrganizationNode', undef, 'hierarchyid', undef, undef, 'NULL') called at ./sqlserver2pgsql.pl line 1546\r\n\tmain::parse_dump() called at ./sqlserver2pgsql.pl line 3316\r\n```\r\nAnd then it stops here **without providing anything in the output files**. Is there a way to skip/ignore such statements and go ahead with converting the rest? \r\n\r\nThe `-ignore_errors` flag exists for the data side but a similar flag during schema conversion will be a huge help.\r\n\r\nThank You in advance!","author":{"url":"https://github.com/shubham-yb","@type":"Person","name":"shubham-yb"},"datePublished":"2023-02-21T12:59:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/173/sqlserver2pgsql/issues/173"}
| 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:b70631af-de8d-8229-85c1-f024bf10e85c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A930:11BAEC:33E2259:47EDE08:6977C5EF |
| html-safe-nonce | 2920c3c810eb583fb1b8b411858d466e5ba6e5a620a97d21b46556247b38049d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTMwOjExQkFFQzozM0UyMjU5OjQ3RURFMDg6Njk3N0M1RUYiLCJ2aXNpdG9yX2lkIjoiODg4MDIyOTg2NTY0MzAzNDA5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 53b92ab7dc1d84bebcd1569b7d498dc4e7a7ba4ba8e7cbde29070f6ae7fb30d7 |
| hovercard-subject-tag | issue:1593438760 |
| 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/dalibo/sqlserver2pgsql/173/issue_layout |
| twitter:image | https://opengraph.githubassets.com/414c0f6cd543932c3b117fbdb6cb437d02827e6665d18e7bf6d9e5b16ad543b3/dalibo/sqlserver2pgsql/issues/173 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/414c0f6cd543932c3b117fbdb6cb437d02827e6665d18e7bf6d9e5b16ad543b3/dalibo/sqlserver2pgsql/issues/173 |
| og:image:alt | Hi Team, The current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause. Example Cannot determine the PostgreSQL's datatype corresponding to hierar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shubham-yb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 173f8c2eae2e017de550dd28a9ea88ad5c1e52c70df7ea05bcd820330b3b2fec |
| turbo-cache-control | no-preview |
| go-import | github.com/dalibo/sqlserver2pgsql git https://github.com/dalibo/sqlserver2pgsql.git |
| octolytics-dimension-user_id | 182275 |
| octolytics-dimension-user_login | dalibo |
| octolytics-dimension-repository_id | 12059094 |
| octolytics-dimension-repository_nwo | dalibo/sqlserver2pgsql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12059094 |
| octolytics-dimension-repository_network_root_nwo | dalibo/sqlserver2pgsql |
| 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 | 7b19554cad55a536fac18eeedb416dd87c37b1f5 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width