Skip to content

encoding: descending NaN is different from ascending NaN #89961

@cockroach-teamcity

Description

@cockroach-teamcity

roachtest.costfuzz failed with artifacts on release-22.2.0 @ 79756fd7476c970f763661a63824beaedc339bd3:

		  |   	"(,0,0,01010000400100000000000000DCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	strings.Join({
		  |   		"(,0,0,0101000040010000000000F8",
		  | - 		"F",
		  | + 		"7",
		  |   		"FDCE9D6DC298C67412DEF51EB9807E5BF,ffff:ffff:ffff:ffff:ffff:ffff:",
		  |   		"ffff:ffff,0,1214080495,0,1991-09-30 00:00:00 +0000 +0000,47,-16 ",
		  |   		"years -7 mons -639 days -10:03:54.394205",
		  |   	}, ""),
		  |   	"(,0,0,01010000400485B01BF378F83FDCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	"(,0,0,010100004004FE02A2CCCC0B3DDCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	... // 107 identical elements
		  |   	"a,0,0,0101000040F8598C42CAC0F33FDCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	"a,0,0,0101000040FA9799FF14C6363CDCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	strings.Join({
		  |   		"c,0,0,0101000040010000000000F8",
		  | - 		"F",
		  | + 		"7",
		  |   		"FDCE9D6DC298C67412DEF51EB9807E5BF,2b:a0:a0:2b:a0:2b:2b:a0/0,0,12",
		  |   		"14080495,0,1981-09-17 00:00:00 +0000 +0000,47,-16 years -7 mons ",
		  |   		"-639 days -10:03:54.394205",
		  |   	}, ""),
		  |   	strings.Join({
		  |   		"e,0,0,0101000040010000000000F8",
		  | - 		"F",
		  | + 		"7",
		  |   		"FDCE9D6DC298C67412DEF51EB9807E5BF,43.239.239.43/0,0,1214080495,0",
		  |   		",1982-03-19 00:00:00 +0000 +0000,47,-16 years -7 mons -639 days ",
		  |   		"-10:03:54.394205",
		  |   	}, ""),
		  |   	"f,0,0,010100004030427AD22795B8BFDCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	"i,0,0,0101000040E8C3DA03CB4ABA3FDCE9D6DC298C67412DEF51EB9807E5BF"...,
		  |   	... // 18 identical elements
		  |   }
		  | sql: SELECT
		  | 	tab_13820.col2_0 AS col_38990,
		  | 	0:::OID AS col_38991,
		  | 	0:::OID AS col_38992,
		  | 	st_makepointm(tab_13820.col2_16::FLOAT8, 1.234567890123456e+07:::FLOAT8::FLOAT8, (-0.6571774097533073):::FLOAT8::FLOAT8)::GEOMETRY
		  | 		AS col_38993,
		  | 	tab_13820.col2_7 AS col_38994,
		  | 	0:::OID AS col_38995,
		  | 	1214080495:::INT8 AS col_38996,
		  | 	tab_13820.col2_18 AS col_38997,
		  | 	tab_13820.col2_15 AS col_38998,
		  | 	47:::INT8 AS col_38999,
		  | 	'-16 years -7 mons -639 days -10:03:54.394205':::INTERVAL AS col_39000
		  | FROM
		  | 	defaultdb.public.table2@[0] AS tab_13820
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.leafError

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

/cc @cockroachdb/sql-queries

This test on roachdash | Improve this report!

Jira issue: CRDB-20517

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions