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

[HZ-1411] User Defined Types information_schema tables #23267

Conversation

ivanthescientist
Copy link
Contributor

Adds attributes and user_defined_types tables to information_schema.

Closes #22062.

@ivanthescientist ivanthescientist added Type: Enhancement Source: Internal PR or issue was opened by an employee Module: Jet Issues/PRs for Jet labels Dec 27, 2022
@ivanthescientist ivanthescientist added this to the 5.3.0 milestone Dec 27, 2022
case TIMESTAMP:
case TIMESTAMP_WITH_TIME_ZONE:
// number of digits after the dot when specifying seconds - 9 for nanoseconds
return 9;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit was confusing - the value here is number of digits (according to Postgres docs) after the dot, Postgres provides 6 here for both TIMESTAMP and TIMESTAMP WITH TIME ZONE here, which means microseconds, but I think we return OffsetDateTime which allows querying for Nanoseconds? Not sure what's best.

@sonarcloud
Copy link

sonarcloud bot commented Jan 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@hazelcast hazelcast deleted a comment from hz-devops-test Jan 10, 2023
@ivanthescientist ivanthescientist merged commit 87a282c into hazelcast:master Jan 10, 2023
@ivanthescientist ivanthescientist deleted the feature/5.3/udt_info_schema_table branch January 10, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Jet Issues/PRs for Jet Source: Internal PR or issue was opened by an employee Type: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add information_schema table for user-defined types [HZ-1411]
3 participants