Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
225 changes: 225 additions & 0 deletions src/generated/generated_temporal_udfs.cpp

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions src/include/meos_wrapper_simple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ extern "C" {
// family type declarations and cross-family conversions (e.g.
// tcbuffer_to_tfloat, ttext_to_tjsonb, tbigint_to_tquadbin) live here, not in
// the meos.h umbrella. The port builds every family the generated UDFs call
// into (pointcloud is off: it surfaces no type or UDF yet). (Alphabetical also
// keeps meos_pose.h before meos_rgeo.h, which depends on it.)
// into. meos_pointcloud.h must be wrapped here (C linkage) now that the
// pointcloud value surface (tpcpoint/tpcpatch startValue/atValue/…) generates
// and links against libmeos. (Alphabetical also keeps meos_pose.h before
// meos_rgeo.h, which depends on it.)
#include <meos_cbuffer.h>
#include <meos_h3.h>
#include <meos_json.h>
#include <meos_npoint.h>
#include <meos_pointcloud.h>
#include <meos_pose.h>
#include <meos_quadbin.h>
#include <meos_rgeo.h>
Expand Down
6 changes: 5 additions & 1 deletion src/include/pointcloud/tpcpatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ namespace duckdb {


struct TPcpatchTypes {
static LogicalType TPCPATCH();
static LogicalType pcpatch();
static LogicalType tpcpatch();
static LogicalType GEOMETRY();
static void RegisterTypes(ExtensionLoader &loader);
static void RegisterScalarFunctions(ExtensionLoader &loader);
Expand All @@ -22,6 +23,9 @@ struct TPcpatchTypes {
struct TpcpatchFunctions {
static bool StringToTpcpatch(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
static bool TpcpatchToString(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
// Base pcpatch value (BLOB-alias) -> VARCHAR render cast (pcpatch_hex_out), so the
// generated startValue/endValue base value renders as hex-WKB text (cbuffer sibling).
static bool Pcpatch_out_cast(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
static bool WkbBlobToGeometry(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
};

Expand Down
6 changes: 5 additions & 1 deletion src/include/pointcloud/tpcpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ namespace duckdb {


struct TPcpointTypes {
static LogicalType TPCPOINT();
static LogicalType pcpoint();
static LogicalType tpcpoint();
static LogicalType GEOMETRY();
static void RegisterTypes(ExtensionLoader &loader);
static void RegisterScalarFunctions(ExtensionLoader &loader);
Expand All @@ -22,6 +23,9 @@ struct TPcpointTypes {
struct TpcpointFunctions {
static bool StringToTpcpoint(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
static bool TpcpointToString(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
// Base pcpoint value (BLOB-alias) -> VARCHAR render cast (pcpoint_hex_out), so the
// generated startValue/endValue base value renders as hex-WKB text (cbuffer sibling).
static bool Pcpoint_out_cast(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
static bool WkbBlobToGeometry(Vector &source, Vector &result, idx_t count, CastParameters &parameters);
};

Expand Down
Loading
Loading