oracledb thin client - support locale specific date and number conversion
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the custom-params connection mode and the connection example in issue #173, then read the linked python-oracledb thin-mode globalization example. Define how locale-aware date and number conversion should work for Robot Framework test data, and clarify whether the scope includes databases beyond Oracle.
Written by the indexing model from the issue text.
Description
Currently there is no native support for the python oracledb module, so this issue occurs when using "connect using custom params" mode (see #173 for connection example).
There is a problem if the test data used in Robot Framework has some regional format different from the Oracle DB.
For example, with decimal/float number and dates:
- The standard English Oracle format for a decimal number is point-based - e.g.
123.45. - But in some other languages/regions (e.g. in Germany) the comma-based format is used -
123,45.
So before I save some local values to the database or compare them with the database values, there is some conversion to be done.
Currently it has to performed manually.
Maybe there is a better way?
The thin mode of the oracledb client doesn't support Oracle Globalization variables (see the full comparison between thin and thick clients here).
So they advice to use the python globalization support - and provide an example.
Also I'm not sure, but maybe this issue is relevant also for other databases?
- Dominant language
- Python
- Stars
- 179
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MarketSquare/Robotframework-Database-Library
-
new_client
Difficulty 3/5 1-2 days Newbie friendliness 48/100
MarketSquare/Robotframework-Database-Library#260 · 1 comment ·
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
MarketSquare/Robotframework-Database-Library#256 · 4 comments ·
-
improvement
Difficulty 5/5 Over a week Newbie friendliness 45/100
MarketSquare/Robotframework-Database-Library#255 · 2 comments ·
-
improvement
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in MarketSquare/Robotframework-Database-Library
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·