ClickHouse/tests/queries/0_stateless/02713_ip4_uint_compare.sql
Yakov Olkhovskiy 7581982e0a fix test
2023-04-10 22:50:09 +00:00

10 lines
236 B
SQL

WITH toIPv4('127.0.0.10') AS ip
SELECT
ip = 2130706442::UInt32,
ip = 0::UInt32,
ip < 2130706443::UInt32,
ip > 2130706441::UInt32,
ip <= 2130706442::UInt32,
ip >= 2130706442::UInt32,
ip != 2130706442::UInt32;