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

Support timestamp seconds precisions with more than 3 fractional digits #210

Open
schwma opened this issue Dec 16, 2022 · 1 comment
Open

Comments

@schwma
Copy link
Member

schwma commented Dec 16, 2022

Hi,

we want to use timestamps with seconds precisions of more than 3 fractional digits, such as 2022-11-05T12:35:44.1234567Z. SAP HANA supports up to 7 digits which are correctly written and read by @sap/hana-client. However, unfortunately it seems as though in node-hdb the fractional digits are always rounded to 3 decimal places here and probably also here.

Could you please add support for seconds precisions of more than 3 fractional digits?

Thanks!

@schwma
Copy link
Member Author

schwma commented Dec 27, 2022

Upon further investigation it appears as though support for the LONGDATE input and output field format, which along with SECONDDATE is the endorsed format for transferring TIMESTAMPs, needs to be implemented in order to support timestamps with seconds precisions of more than 3 fractional digits.

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

No branches or pull requests

1 participant