Skip to content

Comments

Bugs/various work re master 07 09#87

Closed
dsbos wants to merge 51 commits intoapache:masterfrom
dsbos:bugs/various_WORK_re_master_07-09
Closed

Bugs/various work re master 07 09#87
dsbos wants to merge 51 commits intoapache:masterfrom
dsbos:bugs/various_WORK_re_master_07-09

Conversation

@dsbos
Copy link
Contributor

@dsbos dsbos commented Jul 10, 2015

No description provided.

dsbos added 30 commits July 9, 2015 16:01
… in Review, < awaiting Merge

Conflicts:
	pom.xml
Added ~unit test for ResultSetMetaData implementation.

Made getObject return classes available to implementation of getColumnClassName:
- Added SqlAccessor.getObjectClass() (to put that metadata right next to code
  to which it corresponds rather than in far-away parallel code).
- Added similar AvaticaDrillSqlAccessor.getObjectClass().
- Changed DrillAccessorList.accessors from Accessor[] to
  AvaticaDrillSqlAccessor[] for better access to JDBC getObject return class.
- Extracted return classes from accessors to pass to updateColumnMetaData.

Reworked some data type mapping and utilities:
- Added Added Types.getSqlTypeName(...).
- Renamed Types.getJdbcType(...) to getJdbcTypeCode(...)
- Replaced Types.isUnSigned with isJdbcSignedType.
- Fixed various bogus RPC-type XXX -> java.sql.Types.SMALLINT mappings.
- Removed DrillColumnMetaDataList.getJdbcTypeName.
- Moved getAvaticaType up (for bottom-up order).
- Revised DrillColumnMetaDataList.getAvaticaType(...).

MAIN:
- Updated updateColumnMetaData(...) to change many calculations of metadata
  input to ColumnMetaData construction.  [DrillColumnMetaDataList]

Updated other metadata tests per changes.
…llConfig, PathScanner]

Renamed constants.
Documented constants.
Removed extraneous "public static final" (redudant and abnormal since in interface).
Add some DEBUG-level log calls and augmented, edited log message.

Misc. code "hygiene":
- Added method doc comment.
- Renamed to clarify a number of names.
- Added "final".
- Fixed indentation; wrapped some long lines.
@dsbos dsbos closed this Jul 10, 2015
@dsbos dsbos deleted the bugs/various_WORK_re_master_07-09 branch July 10, 2015 06:16
@dsbos dsbos restored the bugs/various_WORK_re_master_07-09 branch July 10, 2015 06:16
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.

1 participant