Skip to content
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

Update Type if an entity already exists #259

Open
Sgidwani61 opened this issue Sep 26, 2023 · 2 comments
Open

Update Type if an entity already exists #259

Sgidwani61 opened this issue Sep 26, 2023 · 2 comments
Labels
purview question A question more about Purview and less about PyApacheAtlas

Comments

@Sgidwani61
Copy link

I'm trying to use the parse_bulk_entities to update all my entities in my purview data catalog in the format

typeName, qualifiedName, name, description, type

everything updates as expected except the type column. For example I have extracted all my data from purview into excels. If the type is exported as a string but i want to update it to an int, i am changing the value in the excel being passed into the upload_entities column from string to int but that change deos not reflect in the purview data catalog. Is this expected? Is there any way to update data types for entities that already exist?

@Sgidwani61 Sgidwani61 added the purview question A question more about Purview and less about PyApacheAtlas label Sep 26, 2023
@wjohnson
Copy link
Owner

HI, @Sgidwani61 - Thank you for using PyApacheAtlas!

Do you know the typeName of the asset you're working with? For example, sometimes the Purivew UI is tricky and the attributeName is actually something like data_type but the UI shows Type. If you can share the asset type you can look up all of the attribute names using the get_all_typedefs method.

@Sgidwani61
Copy link
Author

Yeah, im able to extract the type correctly using the data_type or type values to extract the data but what i mean is when using the bulk upload method, if i want to change a type of an already existing column for example, from string to int, i am unable to do so. Im wondering if its because there is no type value being stored anywhere in that method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
purview question A question more about Purview and less about PyApacheAtlas
Projects
None yet
Development

No branches or pull requests

2 participants