From a68fbe073bc42aae2a773ea80e314200499936fc Mon Sep 17 00:00:00 2001 From: slvrtrn Date: Wed, 20 Sep 2023 18:02:53 +0200 Subject: [PATCH] Update toDaysSinceYearZero docs --- contrib/base64 | 1 + .../functions/date-time-functions.md | 2 +- tests/integration/requirements.txt | 30 +++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 160000 contrib/base64 create mode 100644 tests/integration/requirements.txt diff --git a/contrib/base64 b/contrib/base64 new file mode 160000 index 00000000000..8628e258090 --- /dev/null +++ b/contrib/base64 @@ -0,0 +1 @@ +Subproject commit 8628e258090f9eb76d90ac3c91e1ab4690e9aa11 diff --git a/docs/en/sql-reference/functions/date-time-functions.md b/docs/en/sql-reference/functions/date-time-functions.md index a3883cd22ce..50c8e4057c4 100644 --- a/docs/en/sql-reference/functions/date-time-functions.md +++ b/docs/en/sql-reference/functions/date-time-functions.md @@ -739,7 +739,7 @@ Aliases: `TO_DAYS` **Arguments** -- `date` — The date to calculate the number of days passed since year zero from. [Date](../../sql-reference/data-types/date.md) or [Date32](../../sql-reference/data-types/date32.md). +- `date` — The date to calculate the number of days passed since year zero from. [Date](../../sql-reference/data-types/date.md), [Date32](../../sql-reference/data-types/date32.md), [DateTime](../../sql-reference/data-types/datetime.md) or [DateTime64](../../sql-reference/data-types/datetime64.md). **Returned value** diff --git a/tests/integration/requirements.txt b/tests/integration/requirements.txt new file mode 100644 index 00000000000..11efc43eded --- /dev/null +++ b/tests/integration/requirements.txt @@ -0,0 +1,30 @@ +PyMySQL +aerospike +avro +cassandra-driver +confluent-kafka +dicttoxml +docker +docker-compose +grpcio +grpcio-tools +kafka-python +kazoo +minio +lz4 +protobuf +psycopg2-binary +pymongo +pytz +pytest +pytest-timeout +redis +tzlocal==2.1 +urllib3 +requests-kerberos +dict2xml +hypothesis +pyhdfs +pika +meilisearch +nats-py