Skip to content

Commit

Permalink
Merge pull request #2964 from szarnyasg/nits-20240603c
Browse files Browse the repository at this point in the history
Remove superfluous newlines
  • Loading branch information
szarnyasg authored Jun 3, 2024
2 parents 962d740 + a371df1 commit 7c4ae89
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 19 deletions.
1 change: 0 additions & 1 deletion docs/api/c/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ for (idx_t row = 0; row < row_count; row++) {
> As the code directly accesses an internal array, there is no type-checking.
> Accessing a `DUCKDB_TYPE_INTEGER` column as if it was a `DUCKDB_TYPE_BIGINT` column will provide unpredictable results!

## API Reference

<!-- This section is generated by scripts/generate_config_docs.py -->
Expand Down
2 changes: 0 additions & 2 deletions docs/api/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ To use DuckDB, you must first initialize a `DuckDB` instance using its construct

With the `DuckDB` instance, you can create one or many `Connection` instances using the `Connection()` constructor. While connections should be thread-safe, they will be locked during querying. It is therefore recommended that each thread uses its own connection if you are in a multithreaded environment.


```cpp
DuckDB db(nullptr);
Connection con(db);
Expand Down Expand Up @@ -204,7 +203,6 @@ There are different vector types to handle in a Vectorized UDF:
- StructVector;
- SequenceVector.


The general API of the `CreateVectorizedFunction()` method is as follows:

**1.**
Expand Down
1 change: 0 additions & 1 deletion docs/api/odbc/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: docu
title: ODBC API on Linux
---


## Driver Manager

A driver manager is required to manage communication between applications and the ODBC driver.
Expand Down
1 change: 0 additions & 1 deletion docs/api/python/relational_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ r1.union(r2).show()
└───────┘
```


## Result Output

The result of relations can be converted to various types of Python structures, see the [result conversion page](result_conversion) for more information.
Expand Down
1 change: 0 additions & 1 deletion docs/api/wasm/data_ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ await c.query(`
]
```


### Insert Statement

```ts
Expand Down
1 change: 0 additions & 1 deletion docs/data/multiple_files/combining_schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,4 @@ SELECT * FROM read_csv(['flights3.csv', 'flights4.csv'], union_by_name = true);
| 1988-01-02 | New York, NY | Los Angeles, CA | NULL |
| 1988-01-03 | New York, NY | Los Angeles, CA | AA |


This is equivalent to the SQL construct [`UNION ALL BY NAME`](../../sql/query_syntax/setops#union-all-by-name).
1 change: 0 additions & 1 deletion docs/extensions/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ USE mysqldb;

The connection string determines the parameters for how to connect to MySQL as a set of `key=value` pairs. Any options not provided are replaced by their default values, as per the table below. Connection information can also be specified with [environment variables](https://dev.mysql.com/doc/refman/8.3/en/environment-variables.html). If no option is provided explicitly, the MySQL extension tries to read it from an environment variable.


<div class="narrow_table"></div>

| Setting | Default | Environment variable |
Expand Down
3 changes: 2 additions & 1 deletion docs/extensions/versioning_of_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ in the extension they have installed, and by developers to understand bug report

**Extensions whose source lives in DuckDB's main repository** (in-tree extensions) are tagged with the short git hash of the repository.
For example, the parquet extension is built into DuckDB version `v0.10.3` (which has commit `70fd6a8a24`):

```sql
SELECT extension_name, extension_version, install_mode FROM duckdb_extensions() WHERE extension_name='parquet';
```

<div class="narrow_table"></div>

| extension_name | extension_version | install_mode |
|:------------------|:------------------|:---------------------|
| parquet | 70fd6a8a24 | STATICALLY_LINKED |


**Extensions whose source lives in a separate repository** (out-of-tree extensions) have their own version. This version is **either**
the short git hash of the separate repository, **or** the git version tag in [Semantic Versioning](https://semver.org/) format.
For example, in DuckDB version `v0.10.3`, the azure extension could be versioned as follows:
Expand Down
1 change: 0 additions & 1 deletion docs/extensions/working_with_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ For example:
http://extensions.duckdb.org/v{{ site.currentduckdbversion }}/windows_amd64/json.duckdb_extension.gz
```


## Loading and Installing an Extension from Explicit Paths

### Installing Extensions from an Explicit Path
Expand Down
1 change: 0 additions & 1 deletion docs/guides/database_integration/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ The first parameter to the `postgres_scan` function is the [PostgreSQL connectio

<div class="narrow_table"></div>


| Name | Description | Default |
|------------|--------------------------------------|----------------|
| `host` | Name of host to connect to | `localhost` |
Expand Down
3 changes: 0 additions & 3 deletions docs/guides/python/jupyter.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,12 @@ In this case, the name of the table is the URL of the remotely stored Parquet fi
%sqlplot boxplot --table https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2021-01.parquet --column trip_distance
```


![Boxplot of the trip_distance column](/images/trip-distance-boxplot.png)


Now, create a query that filters by the 90th percentile.
Note the use of the `--save`, and `--no-execute` functions.
This tells JupySQL to store the query, but skips execution. It will be referenced in the next plotting call.


```python
%%sql --save short_trips --no-execute
SELECT *
Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Welcome to the DuckDB Documentation!

Feel free to grab a <a href="{{ site.baseurl }}/duckdb-docs.pdf">PDF copy</a> of the documentation for offline reference.


<h1>Sitemap</h1>

<div id="docusitemaphere"></div>
1 change: 0 additions & 1 deletion docs/sql/aggregates.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ The table below shows the available statistical aggregate functions.
| [`var_pop(x)`](#var_popx) | Returns the population variance. |
| [`var_samp(x)`](#var_sampx) | Returns the sample variance of all input values. |


### `corr(y, x)`

<div class="nostroke_table"></div>
Expand Down
1 change: 0 additions & 1 deletion docs/sql/query_syntax/orderby.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ FROM addresses
ORDER BY city DESC NULLS LAST;
```


Order by city and then by zip code, both using the default orderings:

```sql
Expand Down
3 changes: 1 addition & 2 deletions docs/sql/statements/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,14 @@ FROM original;
| 1 | original value |
| 2 | original value 2 |


```sql
UPDATE original
SET value = new.value
FROM new
WHERE original.key = new.key;
```

OR:
Or:

```sql
UPDATE original
Expand Down

0 comments on commit 7c4ae89

Please sign in to comment.