real-ladybug 0.0.1.dev1__tar.gz → 0.0.1.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of real-ladybug might be problematic. Click here for more details.
- sdist/PKG-INFO +1 -1
- sdist/pyproject.toml +1 -1
- sdist/real_ladybug-source/CMakeLists.txt +9 -1
- sdist/real_ladybug-source/Makefile +10 -9
- sdist/real_ladybug-source/scripts/update-nightly-build-version.py +1 -1
- sdist/real_ladybug-source/src/common/file_system/local_file_system.cpp +2 -1
- sdist/real_ladybug-source/src/include/common/types/interval_t.h +1 -1
- sdist/real_ladybug-source/src/include/common/types/types.h +3 -3
- sdist/real_ladybug-source/src/include/common/types/value/value.h +67 -67
- sdist/real_ladybug-source/src/include/function/cast/functions/cast_string_non_nested_functions.h +2 -3
- sdist/real_ladybug-source/src/include/main/database.h +1 -1
- sdist/real_ladybug-source/src/include/storage/index/index.h +2 -2
- sdist/real_ladybug-source/tools/java_api/build.gradle +9 -9
- sdist/real_ladybug-source/tools/java_api/example/build.gradle +1 -1
- sdist/real_ladybug-source/tools/java_api/example/src/main/java/Main.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/jni/lbug_java.cpp +99 -98
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/Connection.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/DataType.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/DataTypeID.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/Database.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/FlatTuple.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/InternalID.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/LbugList.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/LbugMap.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/LbugStruct.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/Native.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/PreparedStatement.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/QueryResult.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/QuerySummary.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/Value.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/ValueNodeUtil.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/ValueRecursiveRelUtil.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/ValueRelUtil.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/Version.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/main/java/com/lbugdb/package-info.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/ConnectionTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/DataTypeTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/DatabaseTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/FlatTupleTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/PreparedStatementTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/QueryResultTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/TestBase.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/TestHelper.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/ValueTest.java +1 -1
- sdist/real_ladybug-source/tools/java_api/src/test/java/com/lbugdb/VersionTest.java +1 -1
- sdist/real_ladybug.egg-info/PKG-INFO +1 -1
sdist/PKG-INFO
CHANGED
sdist/pyproject.toml
CHANGED
|
@@ -4,7 +4,7 @@ description = "Highly scalable, extremely fast, easy-to-use embeddable graph dat
|
|
|
4
4
|
readme = "README.md"
|
|
5
5
|
license = { text = "MIT" }
|
|
6
6
|
keywords = ["graph", "database"]
|
|
7
|
-
version = "0.0.1.
|
|
7
|
+
version = "0.0.1.dev2"
|
|
8
8
|
|
|
9
9
|
[project.urls]
|
|
10
10
|
Homepage = "https://lbugdb.com/"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.15)
|
|
2
2
|
|
|
3
|
-
project(Lbug VERSION 0.0.1.
|
|
3
|
+
project(Lbug VERSION 0.0.1.2 LANGUAGES CXX C)
|
|
4
4
|
|
|
5
5
|
option(SINGLE_THREADED "Single-threaded mode" FALSE)
|
|
6
6
|
if(SINGLE_THREADED)
|
|
@@ -23,6 +23,14 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
|
|
|
23
23
|
# On Linux, symbols in executables are not accessible by loaded shared libraries (e.g. via dlopen(3)). However, we need to export public symbols in executables so that extensions can access public symbols. This enables that behaviour.
|
|
24
24
|
set(CMAKE_ENABLE_EXPORTS TRUE)
|
|
25
25
|
|
|
26
|
+
# Enable ccache if available
|
|
27
|
+
find_program(CCACHE_PROGRAM ccache)
|
|
28
|
+
if(CCACHE_PROGRAM)
|
|
29
|
+
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
|
|
30
|
+
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
|
|
31
|
+
message(STATUS "ccache found and enabled")
|
|
32
|
+
endif()
|
|
33
|
+
|
|
26
34
|
option(ENABLE_WERROR "Treat all warnings as errors" FALSE)
|
|
27
35
|
if(ENABLE_WERROR)
|
|
28
36
|
if (CMAKE_VERSION VERSION_GREATER "3.24.0" OR CMAKE_VERSION VERSION_EQUAL "3.24.0")
|
|
@@ -30,20 +30,21 @@ TEST_JOBS ?= 10
|
|
|
30
30
|
EXTENSION_LIST ?= httpfs;duckdb;json;postgres;sqlite;fts;delta;iceberg;azure;unity_catalog;vector;neo4j;algo;llm
|
|
31
31
|
EXTENSION_TEST_EXCLUDE_FILTER ?= ""
|
|
32
32
|
|
|
33
|
-
ifeq ($(shell uname -s 2>/dev/null),Linux)
|
|
34
|
-
NUM_THREADS ?= $(shell expr $(shell nproc) \* 2 / 3)
|
|
35
|
-
else ifeq ($(shell uname -s 2>/dev/null),Darwin)
|
|
36
|
-
NUM_THREADS ?= $(shell expr $(shell sysctl -n hw.ncpu) \* 2 / 3)
|
|
37
|
-
else
|
|
38
|
-
NUM_THREADS ?= 1
|
|
39
|
-
endif
|
|
40
|
-
export CMAKE_BUILD_PARALLEL_LEVEL=$(NUM_THREADS)
|
|
41
|
-
|
|
42
33
|
ifeq ($(OS),Windows_NT)
|
|
43
34
|
GEN ?= Ninja
|
|
44
35
|
SHELL := cmd.exe
|
|
45
36
|
.SHELLFLAGS := /c
|
|
37
|
+
NUM_THREADS ?= $(shell set /a %NUMBER_OF_PROCESSORS% * 2 / 3)
|
|
38
|
+
else
|
|
39
|
+
ifeq ($(shell uname -s 2>/dev/null),Linux)
|
|
40
|
+
NUM_THREADS ?= $(shell expr $(shell nproc) \* 2 / 3)
|
|
41
|
+
else ifeq ($(shell uname -s 2>/dev/null),Darwin)
|
|
42
|
+
NUM_THREADS ?= $(shell expr $(shell sysctl -n hw.ncpu) \* 2 / 3)
|
|
43
|
+
else
|
|
44
|
+
NUM_THREADS ?= 1
|
|
45
|
+
endif
|
|
46
46
|
endif
|
|
47
|
+
export CMAKE_BUILD_PARALLEL_LEVEL=$(NUM_THREADS)
|
|
47
48
|
|
|
48
49
|
ifdef GEN
|
|
49
50
|
CMAKE_FLAGS += -G "$(GEN)"
|
|
@@ -36,7 +36,7 @@ def main():
|
|
|
36
36
|
if latest_dev_version is None and latest_stable_version is None:
|
|
37
37
|
print("No versions found. Defaulting to 0.0.1.dev1.")
|
|
38
38
|
dev_version = "0.0.1.dev1"
|
|
39
|
-
elif latest_dev_version is None or Version(latest_dev_version) < Version(latest_stable_version):
|
|
39
|
+
elif latest_dev_version is None or latest_stable_version is not None and Version(latest_dev_version) < Version(latest_stable_version):
|
|
40
40
|
print("The latest stable version is newer than dev version or no dev version exists. Bumping dev version from stable version.")
|
|
41
41
|
latest_stable_version_split = latest_stable_version.split(".")
|
|
42
42
|
latest_stable_version_split[-1] = str(int(latest_stable_version_split[-1]) + 1)
|
|
@@ -272,7 +272,7 @@ class LogicalType {
|
|
|
272
272
|
LBUG_API LogicalType(const LogicalType& other);
|
|
273
273
|
|
|
274
274
|
public:
|
|
275
|
-
|
|
275
|
+
LogicalType() : typeID{LogicalTypeID::ANY}, extraTypeInfo{nullptr} {
|
|
276
276
|
physicalType = getPhysicalType(this->typeID);
|
|
277
277
|
};
|
|
278
278
|
explicit LBUG_API LogicalType(LogicalTypeID typeID, TypeCategory info = TypeCategory::INTERNAL);
|
|
@@ -285,11 +285,11 @@ public:
|
|
|
285
285
|
static bool isBuiltInType(const std::string& str);
|
|
286
286
|
static LogicalType convertFromString(const std::string& str, main::ClientContext* context);
|
|
287
287
|
|
|
288
|
-
|
|
288
|
+
LogicalTypeID getLogicalTypeID() const { return typeID; }
|
|
289
289
|
bool containsAny() const;
|
|
290
290
|
bool isInternalType() const { return category == TypeCategory::INTERNAL; }
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
PhysicalTypeID getPhysicalType() const { return physicalType; }
|
|
293
293
|
LBUG_API static PhysicalTypeID getPhysicalType(LogicalTypeID logicalType,
|
|
294
294
|
const std::unique_ptr<ExtraTypeInfo>& extraTypeInfo = nullptr);
|
|
295
295
|
|