duckdb 0.6.2-dev551.0 → 0.6.2-dev570.0
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.
- package/README.md +17 -0
- package/package.json +1 -1
- package/src/duckdb.cpp +4 -0
- package/src/duckdb.hpp +3 -2
- package/src/parquet-amalgamation.cpp +38029 -38029
package/README.md
CHANGED
|
@@ -99,3 +99,20 @@ var stmt = con.prepare('select ?::INTEGER as fortytwo', function(err, stmt) {
|
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
101
|
```
|
|
102
|
+
|
|
103
|
+
## Development
|
|
104
|
+
|
|
105
|
+
### First install:
|
|
106
|
+
|
|
107
|
+
To install all the dev dependencies of the project, navigate over to `tools/nodejs` and run `npm install` (this uses package.json)
|
|
108
|
+
You might want to add the `--ignore-scripts` option if you don't care about building the package for now and just want to install the dependencies.
|
|
109
|
+
|
|
110
|
+
### Tests:
|
|
111
|
+
Tests are located in `tools/nodejs/test` and can be run with `npm test`
|
|
112
|
+
To run a single test, you can use `npm test -- --grep "name of test as given in describe"`
|
|
113
|
+
|
|
114
|
+
### Additional notes:
|
|
115
|
+
To build the NodeJS package from source, when on Windows, requires the following extra steps:
|
|
116
|
+
- Set `OPENSSL_ROOT_DIR` to the root directory of an OpenSSL installation
|
|
117
|
+
- Supply the `STATIC_OPENSSL=1` option when executing `make`, or set `-DOPENSSL_USE_STATIC_LIBS=1` manually when calling `cmake`
|
|
118
|
+
|
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -132164,6 +132164,10 @@ void PragmaVersion::RegisterFunction(BuiltinFunctions &set) {
|
|
|
132164
132164
|
set.AddFunction(pragma_version);
|
|
132165
132165
|
}
|
|
132166
132166
|
|
|
132167
|
+
idx_t DuckDB::StandardVectorSize() {
|
|
132168
|
+
return STANDARD_VECTOR_SIZE;
|
|
132169
|
+
}
|
|
132170
|
+
|
|
132167
132171
|
const char *DuckDB::SourceID() {
|
|
132168
132172
|
return DUCKDB_SOURCE_ID;
|
|
132169
132173
|
}
|
package/src/duckdb.hpp
CHANGED
|
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
13
|
#define DUCKDB_AMALGAMATION_EXTENDED 1
|
|
14
|
-
#define DUCKDB_SOURCE_ID "
|
|
15
|
-
#define DUCKDB_VERSION "v0.6.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "48030413a9"
|
|
15
|
+
#define DUCKDB_VERSION "v0.6.2-dev570"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -21882,6 +21882,7 @@ public:
|
|
|
21882
21882
|
DUCKDB_API idx_t NumberOfThreads();
|
|
21883
21883
|
DUCKDB_API static const char *SourceID();
|
|
21884
21884
|
DUCKDB_API static const char *LibraryVersion();
|
|
21885
|
+
DUCKDB_API static idx_t StandardVectorSize();
|
|
21885
21886
|
DUCKDB_API static string Platform();
|
|
21886
21887
|
DUCKDB_API bool ExtensionIsLoaded(const std::string &name);
|
|
21887
21888
|
};
|