Add a new TimeUnit for dotnet ticks
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comience revisando las opciones existentes de TimeUnit y las rutas de conversión de TimestampType para C# DateTimeOffset. Determine las implicaciones entre ecosistemas de añadir una unidad de tick de 100 nanosegundos y defina el comportamiento de compatibilidad y serialización que constituiría una propuesta completa.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the enhancement requested
When serializing a DateTimeOffset into an Arrow type, the TimestampType feels like a natural choice. However there is no time unit which fully represents both the precision and range of a C# DateTimeOffset. A DateTimeOffset tick is 100 nanoseconds long and the full range of representable values is between years 0001 and 9999 according to the documentation.
There are currently 2 options for TimeUnit when converting a C# DateTimeOffset to TimestampType
- TimeUnit.Microseconds : Lose precision but be able to fully convert every valid DateTimeOffset to Timestamp
- TimeUnit.Nanoseconds : Keep precision, but the range of representable calendar years is reduced to 1677 - 2262
Of course, users could serialize DateTimeOffset into a long in the Arrow Table and remember the type when deserializing. However, it would be nice to preserve the type information. Having a new TimeUnit equal to a tick would solve this tension.
I appreciate that adding a new time unit would be a fundamental change to arrow across more than just the .NET ecosystem, please let me know if this has been considered before or if the discussion needs to be moved elsewhere.
- Lenguaje dominante
- C#
- Estrellas
- 42
- Forks
- 31
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/arrow-dotnet
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
apache/arrow-dotnet#410 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Support the proposed DictionaryEncoding.custom_metadata (format 1.6) for dictionaries of extension types in IPCPosiblemente ocupada @CurtHagenlocher la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
apache/arrow-dotnet#475 ·
Los mantenedores suelen responder en 1 día
-
CArrowArrayStreamExporter never disposes exported record batches, leaving native memory to the finalizerPosiblemente ocupada @ump45nose la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
apache/arrow-dotnet#464 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
apache/arrow-dotnet#409 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
apache/arrow-dotnet#397 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/arrow-dotnet
Issues similares
-
Format request: .wbpzAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
KnifeLemon/Filee#294 ·
Los mantenedores suelen responder en 1 día
-
応募に出す、展示スペースの図面を作るAbiertomtg-decide submission
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Fialuxe/MouthOfGod_System#288 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
gavin-wolfe/wolfden#104 ·
Los mantenedores suelen responder en 1 día
-
[BUG] BD000104 misses curl/wget pipelines written across lines (implicit string concatenation)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
[BUG] Still libmicrohttpd dependency is not removed properly from External-Dependency-Info.txt filePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotype/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día