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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dc19e9f9-5188-98aa-2b75-bd40b2162715 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C7B4:6DEFE:671AED:8749AF:6991EA30 |
| html-safe-nonce | d0cf9b0066d451a42959e295ebc30686eb1a95e9a14218fa0175b82fb2f9c24a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0I0OjZERUZFOjY3MUFFRDo4NzQ5QUY6Njk5MUVBMzAiLCJ2aXNpdG9yX2lkIjoiNTE1MzcxNTM2NDAxNDcxMzM5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9aadda93a28618caee4ca32857984b0d6766a70b9ab7426d5f9ceb99dd1b5794 |
| hovercard-subject-tag | pull_request:1538159953 |
| 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/dataiku/dataiku-api-client-python/pull/283/files |
| 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 |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width