question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document supported data types

See original GitHub issue

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

If you have contributed before, consider leaving this one for someone new, and looking through our general ideal-for-contribution issues. Thanks!

Background

We should document which SQL Server data types are currently supported by this driver to document features/limitations. Any non-documented data type is not supported.

Problem

Right now, it’s not obvious which data types can be used and to which Java types SQL Server types map to.

Solution

Supported data types can be found by checking for Codec implementations in the io.r2dbc.mssql.codec package. Supported data types can be a table (matrix) between the SQL Server data type (e.g. VARCHAR) and to which Java type it maps to (e.g. java.lang.String, based on StringCodec.

The table with the type mapping should be added to our README.md.

Steps to fix

  • Claim this issue with a comment below and ask any clarifying questions you need.
  • Set up a repository locally following the Contributing Guidelines.
  • Try to fix the issue following the steps above.
  • Commit your changes and start a pull request.

Deliverables

  • Updated README.md containing a section which SQL Server data types are currently supported by this driver.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mp911decommented, Feb 9, 2019

Consider it claimed. Let us know if you need any assistance.

0reactions
mp911decommented, Feb 9, 2019

Thanks for reaching out. Big character data types are partially length-prefixed (see #28) and not yet supported. We should leave these out of the docs (not documented means unsupported) and we will document these once we have proper support for PLP types.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Supported Data Types - Trifacta Documentation
Supported Data Types · Integer Data Type · String Data Type · Decimal Data Type · Boolean Data Type · Credit Card Data...
Read more >
MongoDB - Datatypes - Tutorialspoint
MongoDB - Datatypes, MongoDB supports many datatypes. Some of them are − ... Object − This datatype is used for embedded documents.
Read more >
Supported Data Types - Trigger Event Scheme
This section lists the supported data types for the RDBMS Event Generator for the Trigger Event Scheme and the Intrusive Event Query Scheme....
Read more >
Documentation: 15: Chapter 8. Data Types - PostgreSQL
The following types (or spellings thereof) are specified by SQL : bigint , bit , bit varying , boolean , char , character...
Read more >
Supported data types and items—ArcGIS Pro | Documentation
Data stored in files ; CAD datasets (.dgn, .dwg, .dxf). No. Yes ; dBASE tables (.dbf). Yes. Yes ; Excel worksheets (.xls, .xlsx)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found