If Timestamp/Date pattern contains both literal or variable length entry and fractions of second placeholders it's likely to cause error
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- scala, spark
調査の方向性
まず、"'at' HH:mm:ss.SSS" パターンを EnceladusDateTimeParser.format と Standardization フローを通して使用し、失敗を再現します。リテラルまたは可変長のパターン部分が秒の小数部の位置分析にどのような影響を与えるかを追跡します。SSS の前にリテラルがあるパターンが例外なしに正常に変換されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue is a shortcut for https://github.com/AbsaOSS/enceladus/issues/677 (moving it from Enceladus to here)
Describe the bug
If Timestamp/Date pattern contains both literal parts or variable length entry (month name, day name, ...) and fractions of second placeholders namely if any literal part is before any second fraction placeholder it will fail Standardization of such filed or even crash with an exception.
To Reproduce
Steps to reproduce the behavior OR commands run:
- Set the timestamp pattern to
"'at' HH:mm:ss.SSS" - Try to Standardize or just use 'EnceladusDateTimeParser.format'
- Exception, wouldn't it be
SSSbe at the tail it would "just" fail the conversion in Standardization
Expected behavior
This needs to work properly
Additional context
The reason is that the quote characters are counted in when the position of second fractions are analyzed. But in the actual string to convert they are not present making the index out of place, even outside the boundaries.
- 主要言語
- Scala
- スター
- 7
- フォーク
- 2
- 平均マージ
- 8日 8時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AbsaOSS/spark-data-standardization のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
AbsaOSS/spark-data-standardization#68 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Standardization can fail with `Task not serializable` when casting to date is requested対応中かも @qwerty44-U が 121 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
AbsaOSS/spark-data-standardization の issue をすべて見る
似ている issue
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
spotify/scio#6018 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
scylladb/scylla-migrator#417 ·
-
[Docs] Document `spark.databricks.delta.optimize.maxThreads` in Compaction (bin-packing) sectionオープンdelta-docs delta-table-maintenance documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
software-mansion/starknet-jvm#641 ·