oracledb thin client - support locale specific date and number conversion
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với chế độ kết nối custom-params và ví dụ kết nối trong issue #173, sau đó đọc ví dụ về toàn cầu hóa python-oracledb thin-mode được liên kết. Xác định cách hoạt động của việc chuyển đổi ngày tháng và số có xét đến locale đối với dữ liệu kiểm thử của Robot Framework, đồng thời làm rõ liệu phạm vi có bao gồm các cơ sở dữ liệu ngoài Oracle hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Python
- Star
- 179
- Fork
- 178
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MarketSquare/Robotframework-Database-Library
-
new_client
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
MarketSquare/Robotframework-Database-Library#260 · 1 bình luận ·
-
Connection examples for Excel Đang mởdocs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
MarketSquare/Robotframework-Database-Library#256 · 4 bình luận ·
-
improvement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
MarketSquare/Robotframework-Database-Library#255 · 2 bình luận ·
-
improvement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của MarketSquare/Robotframework-Database-Library
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/skills#1811 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
speaches-ai/speaches#678 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
datalayer/mcp-compose#42 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conda-forge/spacy-feedstock#177 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
UKGovernmentBEIS/inspect_evals#2523 ·