Skip to content

Commit

Permalink
uncomment
Browse files Browse the repository at this point in the history
  • Loading branch information
korowa committed Aug 11, 2024
1 parent 7d6cd13 commit 0cfcbc2
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions datafusion/sqllogictest/test_files/parquet.slt
Original file line number Diff line number Diff line change
Expand Up @@ -251,27 +251,25 @@ SELECT COUNT(*) FROM timestamp_with_tz;
----
131072

# FIXME(#TODO) fails with feature `force_hash_collisions`
# https://github.com/apache/datafusion/issues/11660
# Perform the query:
# query IPT
# SELECT
# count,
# LAG(timestamp, 1) OVER (ORDER BY timestamp),
# arrow_typeof(LAG(timestamp, 1) OVER (ORDER BY timestamp))
# FROM timestamp_with_tz
# LIMIT 10;
# ----
# 0 NULL Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 4 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 14 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
# 0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
Perform the query:
query IPT
SELECT
count,
LAG(timestamp, 1) OVER (ORDER BY timestamp),
arrow_typeof(LAG(timestamp, 1) OVER (ORDER BY timestamp))
FROM timestamp_with_tz
LIMIT 10;
----
0 NULL Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
4 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
14 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))
0 2014-08-27T14:00:00Z Timestamp(Millisecond, Some("UTC"))

# Test config listing_table_ignore_subdirectory:

Expand Down

0 comments on commit 0cfcbc2

Please sign in to comment.