Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

oracledb thin client - support locale specific date and number conversion

オープン
#175 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
databases

調査の方向性

issue #173 の custom-params 接続モードと接続例から始め、リンクされている python-oracledb thin-mode のグローバリゼーション例を読んでください。Robot Framework のテストデータに対して、ロケールを考慮した日付と数値の変換をどのように機能させるべきかを定義し、対象範囲に Oracle 以外のデータベースも含まれるかどうかを明確にしてください。

索引モデルが issue の本文から書いたものです。

説明

improvement

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?

主要言語
Python
スター
179
フォーク
178
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MarketSquare/Robotframework-Database-Library のほかの issue

MarketSquare/Robotframework-Database-Library の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。