Skip to content

Adding fuller implementation of ParameterMetadata#114

Closed
eramitmittal wants to merge 6 commits intoduckdb:mainfrom
eramitmittal:main
Closed

Adding fuller implementation of ParameterMetadata#114
eramitmittal wants to merge 6 commits intoduckdb:mainfrom
eramitmittal:main

Conversation

@eramitmittal
Copy link
Contributor

@eramitmittal eramitmittal commented Dec 20, 2024

Fixes #121
On the lines of pre-existing implementation of corresponding methods for columns in ResultSetMetaData, adding ParameterMetadata implementations for

  1. isSigned
  2. getPrecision
  3. getScale
  4. getParameterType
  5. getParameterTypeName
  6. getParameterClassName

@eramitmittal
Copy link
Contributor Author

hi, any update on this?

@eramitmittal
Copy link
Contributor Author

hi @Mause, can you please review and merge?

@eramitmittal
Copy link
Contributor Author

eramitmittal commented Jan 9, 2025

The format_check failure is strange because the failing file 'DuckDBDatabaseMetaData.java' is not even part of my commit

@eramitmittal
Copy link
Contributor Author

@Mause can this be merged please if there are no issues?

@eramitmittal
Copy link
Contributor Author

Any update on this?

@hannes
Copy link
Member

hannes commented Jan 31, 2025

thanks!

staticlibs added a commit to staticlibs/duckdb-java that referenced this pull request Mar 31, 2025
This PR brings in the change that was contributed earlier by
`eramitmittal` in duckdb#114 but was not merged. That change is rebased onto
the latest `main`with minimal adjustetments.

Testing: in addition to the `DECIMAL` test from original PR more tests
are added to cover all other column types.

Fixes: duckdb#121

Co-authored-by: eramitmittal
@staticlibs
Copy link
Collaborator

@eramitmittal

Thanks for this implementation! I took the liberty to re-submit the updated version of this PR in #181 (referencing you in the commit message). Please let me know, if instead you would like to update this PR yourself (I then will close #181).

@eramitmittal
Copy link
Contributor Author

@eramitmittal

Thanks for this implementation! I took the liberty to re-submit the updated version of this PR in #181 (referencing you in the commit message). Please let me know, if instead you would like to update this PR yourself (I then will close #181).

hi, this is fine. thanks

staticlibs added a commit to staticlibs/duckdb-java that referenced this pull request Apr 4, 2025
This PR brings in the change that was contributed earlier by
`eramitmittal` in duckdb#114 but was not merged. That change is rebased onto
the latest `main`with minimal adjustetments.

Testing: in addition to the `DECIMAL` test from original PR more tests
are added to cover all other column types.

Fixes: duckdb#121

Co-authored-by: eramitmittal <amit.mittal.github@gmail.com>
@staticlibs
Copy link
Collaborator

Changes from this PR were included into #181 PR, closing this one as superseded.

@staticlibs staticlibs closed this Apr 7, 2025
staticlibs added a commit to staticlibs/duckdb-java that referenced this pull request Apr 7, 2025
This PR brings in the change that was contributed earlier by
`eramitmittal` in duckdb#114 but was not merged. That change is rebased onto
the latest `main`with minimal adjustetments.

Testing: in addition to the `DECIMAL` test from original PR more tests
are added to cover all other column types.

Fixes: duckdb#121
Fixes: duckdb#41

Co-authored-by: eramitmittal <amit.mittal.github@gmail.com>
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

Successfully merging this pull request may close these issues.

ParameterMetadata is only partially implemented

3 participants