diff --git a/docs/api/c/api.md b/docs/api/c/api.md index a4f630e036d..e87ba1581d2 100644 --- a/docs/api/c/api.md +++ b/docs/api/c/api.md @@ -977,6 +977,7 @@ printf("Data for row %d: %d\n", row, data[row]); #### Parameters + * `result` The result object to fetch the column data from. diff --git a/docs/api/c/vector.md b/docs/api/c/vector.md index 4e1f3f0f6ef..e4a4685618e 100644 --- a/docs/api/c/vector.md +++ b/docs/api/c/vector.md @@ -11,7 +11,7 @@ The vector and data chunk interfaces are the most efficient way of interacting w Vectors are arrays of a specific data type. The logical type of a vector can be obtained using `duckdb_vector_get_column_type`. The type id of the logical type can then be obtained using `duckdb_get_type_id`. -Vectors themselves do not have sizes. Instead, the parent data chunk has a size (that can be obtained through `duckdb_data_chunk_get_size`). All vectors that belong to a data chunk have the same size. +Vectors themselves do not have sizes. Instead, the parent data chunk has a size (that can be obtained through `duckdb_data_chunk_get_size`). All vectors that belong to a data chunk have the same size. ### Primitive Types @@ -57,7 +57,7 @@ The `duckdb_vector_get_validity` returns a pointer to the validity mask. Note th ### Strings -String values are stored as a `duckdb_string_t`. This is a special struct that stores the string inline (if it is short, i.e. `<= 12 bytes`) or a pointer to the string data if it is longer than `12` bytes. +String values are stored as a `duckdb_string_t`. This is a special struct that stores the string inline (if it is short, i.e., `<= 12 bytes`) or a pointer to the string data if it is longer than `12` bytes. ```c typedef struct { @@ -114,7 +114,7 @@ In order to obtain the actual string value of the enum, the `duckdb_enum_diction Structs are nested types that contain any number of child types. Think of them like a `struct` in C. The way to access struct data using vectors is to access the child vectors recursively using the `duckdb_struct_vector_get_child` method. -The struct vector itself does not have any data (i.e. you should not use `duckdb_vector_get_data` method on the struct). **However**, the struct vector itself **does** have a validity mask. The reason for this is that the child elements of a struct can be `NULL`, but the struct **itself** can also be `NULL`. +The struct vector itself does not have any data (i.e., you should not use `duckdb_vector_get_data` method on the struct). **However**, the struct vector itself **does** have a validity mask. The reason for this is that the child elements of a struct can be `NULL`, but the struct **itself** can also be `NULL`. ### Lists diff --git a/docs/dev/building/troubleshooting.md b/docs/dev/building/troubleshooting.md index 40571b590d1..a3199fb89d0 100644 --- a/docs/dev/building/troubleshooting.md +++ b/docs/dev/building/troubleshooting.md @@ -34,14 +34,14 @@ warning: too many GOT entries for -fpic, please recompile with -fPIC ``` **Solution:** -Create or edit the `~/.R/Makevars` file. This example also contains the [flag to parallelize the build](#building-the-r-package-is-slow): +Create or edit the `~/.R/Makevars` file. This example also contains the [flag to parallelize the build](#r-package-the-build-only-uses-a-single-thread): ```ini ALL_CXXFLAGS = $(PKG_CXXFLAGS) -fPIC $(SHLIB_CXXFLAGS) $(CXXFLAGS) MAKEFLAGS = -j$(nproc) ``` -When making this change, also consider [making the build parallel](#building-the-r-package-is-slow). +When making this change, also consider [making the build parallel](#r-package-the-build-only-uses-a-single-thread). ## Python Package: `No module named 'duckdb.duckdb'` Build Error diff --git a/docs/guides/glossary.md b/docs/guides/glossary.md index abd1969f73f..d15e3f399cc 100644 --- a/docs/guides/glossary.md +++ b/docs/guides/glossary.md @@ -9,7 +9,7 @@ This page contains a glossary of a few common terms used in DuckDB. ### In-Process Database Management System -The DBMS runs in the client application's process instead of running as a separate process, which is common in the traditional client–server setup. An alternative term is **embeddable** database management system. In general, the term _"embedded database management system"_ should be avoided, as it can be confused with DBMSs targeting _embedded systems_ (which run on e.g. microcontrollers). +The DBMS runs in the client application's process instead of running as a separate process, which is common in the traditional client–server setup. An alternative term is **embeddable** database management system. In general, the term _“embedded database management system”_ should be avoided, as it can be confused with DBMSs targeting _embedded systems_ (which run on e.g., microcontrollers). ### Replacement Scan diff --git a/docs/sql/dialect/postgresql_compatibility.md b/docs/sql/dialect/postgresql_compatibility.md index 925e16475e8..ed2d9ee9ac1 100644 --- a/docs/sql/dialect/postgresql_compatibility.md +++ b/docs/sql/dialect/postgresql_compatibility.md @@ -94,7 +94,7 @@ DuckDB performs an enforced cast, therefore, it completes the query and returns ## Case Sensitivity for Quoted Identifiers -PostgreSQL is case-insensitive. The way PostgreSQL achieves case insensitivity is by lowercasing unquoted identifiers within SQL, whereas quoting preserves case, e.g. the following command creates a table named `mytable` but tries to query for `MyTaBLe` because quotes preserve the case. +PostgreSQL is case-insensitive. The way PostgreSQL achieves case insensitivity is by lowercasing unquoted identifiers within SQL, whereas quoting preserves case, e.g., the following command creates a table named `mytable` but tries to query for `MyTaBLe` because quotes preserve the case. ```sql CREATE TABLE MyTaBLe(x INT);