duckdb / duckdb/duckdb-sqllogictest-python

Compare value logic

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
14
PR merge metrics
No merged PRs in 30d

Description

https://github.com/duckdb/duckdb-sqllogictest-python/blob/be27216725d4022aae9f89d3caaef655a049b82c/duckdb_sqllogictest/result.py#L501

`compare_value` copies the logic of its C++ equivalent, to do that it requires knowing the types of the result (the result of the query being executed) and transform the expected strings into those types, so it can perform type-dependent equality checks on them (for example +/-epsilon equality for doubles/floats)

Perhaps this can become a sql query rather than executing every tuple individually

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.