Title: Add function to update string column length in a Dataset by shaun-actionanalytics · Pull Request #283 · dataiku/dataiku-api-client-python · GitHub
Open Graph Title: Add function to update string column length in a Dataset by shaun-actionanalytics · Pull Request #283 · dataiku/dataiku-api-client-python
X Title: Add function to update string column length in a Dataset by shaun-actionanalytics · Pull Request #283 · dataiku/dataiku-api-client-python
Description: As a Dataiku platform user, I want to manually set the length of a column in a Dataset scso that I can have a resilient flow. Dataset settings currently has a host of functions to retireve the dataset's schema and set types, but not length for a string column. I have flows that fail due to longer string lengths outside fo the sample used to auto detect the schema for a dataset. This PR adds update_string_column_len to a DSSDatasetSettings class in dataikuapi.dss.dataset.py. The function takes two inputs: column - column name as it appears in the schema length - an integer to set the column length Conitnued development: Add error handling to prevent setting the length beyond the maximum set by the connection type Expand to other column types I updated the local copy dataiku-api-client-python and was able to successfully update a string column length
Open Graph Description: As a Dataiku platform user, I want to manually set the length of a column in a Dataset scso that I can have a resilient flow. Dataset settings currently has a host of functions to retireve the data...
X Description: As a Dataiku platform user, I want to manually set the length of a column in a Dataset scso that I can have a resilient flow. Dataset settings currently has a host of functions to retireve the data...
Opengraph URL: https://github.com/dataiku/dataiku-api-client-python/pull/283
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:3021d32e-0761-3c72-c476-d36866fd51cc |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EB22:261E12:125F98D:17ACB4E:6990788F |
| html-safe-nonce | 403e5106f3a0a602d277b13a21411cee300f7fa45b1cd91f3f64793d41590015 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjIyOjI2MUUxMjoxMjVGOThEOjE3QUNCNEU6Njk5MDc4OEYiLCJ2aXNpdG9yX2lkIjoiNTU0MTcxNDA5ODEyNTgzMDI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c0988c098665fa1bab809528d1f93a504724fc119f6480def23cbb2122a424d2 |
| hovercard-subject-tag | pull_request:1538159953 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/dataiku/dataiku-api-client-python/pull/283/checks |
| twitter:image | https://avatars.githubusercontent.com/u/110267929?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/110267929?s=400&v=4 |
| og:image:alt | As a Dataiku platform user, I want to manually set the length of a column in a Dataset scso that I can have a resilient flow. Dataset settings currently has a host of functions to retireve the data... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/dataiku/dataiku-api-client-python git https://github.com/dataiku/dataiku-api-client-python.git |
| octolytics-dimension-user_id | 2335170 |
| octolytics-dimension-user_login | dataiku |
| octolytics-dimension-repository_id | 40004578 |
| octolytics-dimension-repository_nwo | dataiku/dataiku-api-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40004578 |
| octolytics-dimension-repository_network_root_nwo | dataiku/dataiku-api-client-python |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width