[client-v2] Convert String to DateTime

Offen
#3,165 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
java
Bereich
database

Rechercherichtung

Start by reading the linked original issue #3132 and the client-v2 conversion context. Define how the implementation should distinguish numeric seconds from milliseconds and how it should handle formatted timestamps when no format is supplied. Done means the conversion behavior is specified for the listed use cases and validated by appropriate tests, though no files or tests are named here.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:data-type client-api-v2

Description

Original issue https://github.com/ClickHouse/clickhouse-java/issues/3132

Define a simple and straightforward logic for converting String to Datetime. Consider next usecases

  • String contains number of seconds or milliseconds as number. However we do not know it.
  • String value is a formatted timestamp but there is no information about the format.
Vorherrschende Sprache
Java
Sterne
1.6k
Forks
649
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
39

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ClickHouse/clickhouse-java

Alle Issues in ClickHouse/clickhouse-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.