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

If Timestamp/Date pattern contains both literal or variable length entry and fractions of second placeholders it's likely to cause error

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

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

評価

難易度
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:

  1. Set the timestamp pattern to "'at' HH:mm:ss.SSS"
  2. Try to Standardize or just use 'EnceladusDateTimeParser.format'
  3. Exception, wouldn't it be SSS be 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.

Related to https://github.com/AbsaOSS/enceladus/issues/466

主要言語
Scala
スター
7
フォーク
2
平均マージ
8日 8時間
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

AbsaOSS/spark-data-standardization のほかの issue

AbsaOSS/spark-data-standardization の issue をすべて見る

似ている issue

Scala の issue をもっと見る

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

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