blob: a69711c869397020164973c58a58b4e827d4141f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <util/generic/strbuf.h>
#include <util/generic/string.h>
#include <compare>
#include <expected>
namespace NYql {
// Used only for type annotation / optimization purposes.
// Do not use in computation level!
//
// Expensive call:
// This call creates |State| and calls |GetSign| with it.
// Actually state must be created once per thread and cached.
std::expected<std::strong_ordering, TString> PgSign(TStringBuf value, ui32 typeId);
} // namespace NYql
|