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

[Improvement] How to obtain the native type #2368

Open
lw-yang opened this issue Feb 27, 2024 · 2 comments
Open

[Improvement] How to obtain the native type #2368

lw-yang opened this issue Feb 27, 2024 · 2 comments
Labels
improvement Improvements on everything

Comments

@lw-yang
Copy link
Contributor

lw-yang commented Feb 27, 2024

What would you like to be improved?

Some tables have many complex types, such as text and keyword types in es, and these field types will be mapped to the same java type string in gravitino. How to obtain the native type when reading

How should we improve?

Do we need to provide an additional attribute that keeps a record of the native field type

@lw-yang lw-yang added the improvement Improvements on everything label Feb 27, 2024
@coolderli
Copy link
Contributor

This may be the same with #2373.

@xiacongling
Copy link
Contributor

Native types may be important for engines to access data correctly. Same type in gravitino may have subtle differences when they come from different dbs/data warehouses. Engine connectors can do better work when knowing the details. IMO, gravitino should maintain and expose such imformation via its APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvements on everything
Projects
None yet
Development

No branches or pull requests

4 participants