This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 29dc844bc Publish built docs triggered by
84dca9fad1163c3a81f47b42b5a490db119953b6
29dc844bc is described below
commit 29dc844bc8976354f917718f9762b630052ffda0
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Sep 16 16:28:07 2025 +0000
Publish built docs triggered by 84dca9fad1163c3a81f47b42b5a490db119953b6
---
_sources/user-guide/latest/expressions.md.txt | 32 +++++++++++++++----------
searchindex.js | 2 +-
user-guide/latest/expressions.html | 34 +++++++++++++++++++++++++--
3 files changed, 52 insertions(+), 16 deletions(-)
diff --git a/_sources/user-guide/latest/expressions.md.txt
b/_sources/user-guide/latest/expressions.md.txt
index 5a459866e..c29d0202b 100644
--- a/_sources/user-guide/latest/expressions.md.txt
+++ b/_sources/user-guide/latest/expressions.md.txt
@@ -91,19 +91,25 @@ incompatible expressions.
## Date/Time Functions
-| Expression | SQL | Spark-Compatible? |
Compatibility Notes |
-| -------------- | ---------------------------- | ----------------- |
----------------------------------------------------------------------------- |
-| DateAdd | `date_add` | Yes |
|
-| DateSub | `date_sub` | Yes |
|
-| DatePart | `date_part(field, source)` | Yes | Only
`year` is supported |
-| Extract | `extract(field FROM source)` | Yes | Only
`year` is supported |
-| FromUnixTime | `from_unixtime` | No | Does not
support format, supports only -8334601211038 <= sec <= 8210266876799 |
-| Hour | `hour` | Yes |
|
-| Minute | `minute` | Yes |
|
-| Second | `second` | Yes |
|
-| TruncDate | `trunc` | Yes |
|
-| TruncTimestamp | `trunc_date` | Yes |
|
-| Year | `year` | Yes |
|
+| Expression | SQL | Spark-Compatible? |
Compatibility Notes
|
+| -------------- |------------------------------| -----------------
|------------------------------------------------------------------------------------------------------|
+| DateAdd | `date_add` | Yes |
|
+| DateSub | `date_sub` | Yes |
|
+| DatePart | `date_part(field, source)` | Yes |
Supported values of `field`:
`year`/`month`/`week`/`day`/`dayofweek`/`doy`/`quarter`/`hour`/`minute` |
+| Extract | `extract(field FROM source)` | Yes |
Supported values of `field`:
`year`/`month`/`week`/`day`/`dayofweek`/`doy`/`quarter`/`hour`/`minute` |
+| FromUnixTime | `from_unixtime` | No | Does not
support format, supports only -8334601211038 <= sec <= 8210266876799
|
+| Hour | `hour` | Yes |
|
+| Minute | `minute` | Yes |
|
+| Second | `second` | Yes |
|
+| TruncDate | `trunc` | Yes |
|
+| TruncTimestamp | `trunc_date` | Yes |
|
+| Year | `year` | Yes |
|
+| Month | `month` | Yes |
|
+| DayOfMonth | `day`/`dayofmonth` | Yes |
|
+| DayOfWeek | `dayofweek` | Yes |
|
+| DayOfYear | `dayofyear` | Yes |
|
+| WeekOfYear | `weekofyear` | Yes |
|
+| Quarter | `quarter` | Yes |
|
## Math Expressions
diff --git a/searchindex.js b/searchindex.js
index 3f7b4f125..4e7381a4a 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"1. Install Comet": [[12, "install-comet"]],
"2. Clone Spark and Apply Diff": [[12, "clone-spark-and-apply-diff"]], "3. Run
Spark SQL Tests": [[12, "run-spark-sql-tests"]], "ANSI Mode": [[17,
"ansi-mode"], [56, "ansi-mode"]], "ANSI mode": [[30, "ansi-mode"], [43,
"ansi-mode"]], "API Differences Between Spark Versions": [[0,
"api-differences-between-spark-versions"]], "Accelerating Apache Iceberg
Parquet Scans using Comet (Experimental)": [[22, null], [35, n [...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"1. Install Comet": [[12, "install-comet"]],
"2. Clone Spark and Apply Diff": [[12, "clone-spark-and-apply-diff"]], "3. Run
Spark SQL Tests": [[12, "run-spark-sql-tests"]], "ANSI Mode": [[17,
"ansi-mode"], [56, "ansi-mode"]], "ANSI mode": [[30, "ansi-mode"], [43,
"ansi-mode"]], "API Differences Between Spark Versions": [[0,
"api-differences-between-spark-versions"]], "Accelerating Apache Iceberg
Parquet Scans using Comet (Experimental)": [[22, null], [35, n [...]
\ No newline at end of file
diff --git a/user-guide/latest/expressions.html
b/user-guide/latest/expressions.html
index ba4d493fb..0ee8094d5 100644
--- a/user-guide/latest/expressions.html
+++ b/user-guide/latest/expressions.html
@@ -891,12 +891,12 @@ incompatible expressions.</p>
<tr class="row-even"><td><p>DatePart</p></td>
<td><p><code class="docutils literal notranslate"><span
class="pre">date_part(field,</span> <span
class="pre">source)</span></code></p></td>
<td><p>Yes</p></td>
-<td><p>Only <code class="docutils literal notranslate"><span
class="pre">year</span></code> is supported</p></td>
+<td><p>Supported values of <code class="docutils literal notranslate"><span
class="pre">field</span></code>: <code class="docutils literal
notranslate"><span class="pre">year</span></code>/<code class="docutils literal
notranslate"><span class="pre">month</span></code>/<code class="docutils
literal notranslate"><span class="pre">week</span></code>/<code class="docutils
literal notranslate"><span class="pre">day</span></code>/<code class="docutils
literal notranslate"><span class="pre">da [...]
</tr>
<tr class="row-odd"><td><p>Extract</p></td>
<td><p><code class="docutils literal notranslate"><span
class="pre">extract(field</span> <span class="pre">FROM</span> <span
class="pre">source)</span></code></p></td>
<td><p>Yes</p></td>
-<td><p>Only <code class="docutils literal notranslate"><span
class="pre">year</span></code> is supported</p></td>
+<td><p>Supported values of <code class="docutils literal notranslate"><span
class="pre">field</span></code>: <code class="docutils literal
notranslate"><span class="pre">year</span></code>/<code class="docutils literal
notranslate"><span class="pre">month</span></code>/<code class="docutils
literal notranslate"><span class="pre">week</span></code>/<code class="docutils
literal notranslate"><span class="pre">day</span></code>/<code class="docutils
literal notranslate"><span class="pre">da [...]
</tr>
<tr class="row-even"><td><p>FromUnixTime</p></td>
<td><p><code class="docutils literal notranslate"><span
class="pre">from_unixtime</span></code></p></td>
@@ -933,6 +933,36 @@ incompatible expressions.</p>
<td><p>Yes</p></td>
<td><p></p></td>
</tr>
+<tr class="row-odd"><td><p>Month</p></td>
+<td><p><code class="docutils literal notranslate"><span
class="pre">month</span></code></p></td>
+<td><p>Yes</p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-even"><td><p>DayOfMonth</p></td>
+<td><p><code class="docutils literal notranslate"><span
class="pre">day</span></code>/<code class="docutils literal notranslate"><span
class="pre">dayofmonth</span></code></p></td>
+<td><p>Yes</p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-odd"><td><p>DayOfWeek</p></td>
+<td><p><code class="docutils literal notranslate"><span
class="pre">dayofweek</span></code></p></td>
+<td><p>Yes</p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-even"><td><p>DayOfYear</p></td>
+<td><p><code class="docutils literal notranslate"><span
class="pre">dayofyear</span></code></p></td>
+<td><p>Yes</p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-odd"><td><p>WeekOfYear</p></td>
+<td><p><code class="docutils literal notranslate"><span
class="pre">weekofyear</span></code></p></td>
+<td><p>Yes</p></td>
+<td><p></p></td>
+</tr>
+<tr class="row-even"><td><p>Quarter</p></td>
+<td><p><code class="docutils literal notranslate"><span
class="pre">quarter</span></code></p></td>
+<td><p>Yes</p></td>
+<td><p></p></td>
+</tr>
</tbody>
</table>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]