We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0f53d commit 1e8ddfaCopy full SHA for 1e8ddfa
docs/source/user-guide/sql/data_types.md
@@ -41,7 +41,18 @@ You can cast a SQL expression to a specific Arrow type using the `arrow_cast` fu
41
For example, to cast the output of `now()` to a `Timestamp` with second precision:
42
43
```sql
44
-select arrow_cast(now(), 'Timestamp(Second, None)');
+select arrow_cast(now(), 'Timestamp(s)') as "now()";
45
++---------------------+
46
+| now() |
47
48
+| 2025-10-24T20:02:45 |
49
50
+```
51
+
52
+The older syntax still works as well:
53
54
+```sql
55
+select arrow_cast(now(), 'Timestamp(Second, None)') as "now()";
56
+---------------------+
57
| now() |
58
0 commit comments