Commit Graph

12474 Commits

Author SHA1 Message Date
taiyang-li
5fa0968bd5 reset to original solution 2022-11-03 15:05:23 +08:00
taiyang-li
6770723027 modify as requested 2022-11-03 12:02:31 +08:00
taiyang-li
aeea21e4d7 Merge branch 'master' into ascii_function 2022-11-03 11:13:20 +08:00
DanRoscigno
7271d4d122 add note to embedded dict 2022-11-02 17:52:35 -04:00
DanRoscigno
df4868587b add note to use DDL 2022-11-02 17:40:55 -04:00
DanRoscigno
3dd5df4615 update examples 2022-11-02 16:58:07 -04:00
DanRoscigno
c8f9af1afa start renaming 2022-11-02 15:47:11 -04:00
Alexey Milovidov
c3466fb52f
Update clickhouse-keeper.md 2022-11-02 22:22:16 +03:00
Dan Roscigno
0c21434ec7
Merge pull request #42903 from CamiloSierraH/patch-1
range hashed missing parameters on query + example
2022-11-02 14:05:08 -04:00
Robert Schulze
494d6ca3df
Cleanup implementation of regexpReplace(All|One)
This is a pure refactoring, there are no semantic changes.

Cherry-picked from #42682.
2022-11-02 15:49:53 +00:00
Camilo Sierra
b6d84ef5fa
range hashed missing parameters
On the query we have missing two options:
- `LIFETIME` Is not on the example if you copy paste you will have an Exception `DB::Exception: Cannot create dictionary with empty lifetime.`
- `SOURCE` was not mentioned and it's important to link to the main/source table.
- There was an error on the `dictGetT` function there was an additional T this function do not exist (I have tested and we need to use `dictGet`).
- Also in the Dictionary example we have no extra attribute other than the id and the two dates, and for running the queries and the `dicGet` function you need an additional attribute this is why I have added `advertiser_id` (BTW I use advertiser_id as this was use in the example just before) and also add one example, without the example it was not easy to understand what was the 'attr_name' mentioned before.
- I add an example as an user did not knew how to cast the date to a Uint64 (Because most of the time the original/raw dates are defined on the range as Date64, so this example will explain them how to cast when doing the query)
2022-11-02 15:43:57 +01:00
Dan Roscigno
4c77987bf8
Update projection.md
Experiment with Algolia search
2022-11-02 10:41:55 -04:00
DanRoscigno
cc77e30024 add text, update image 2022-11-02 09:59:20 -04:00
ltrk2
14141c9071 Add support for FixedString input to base64 functions 2022-11-02 08:14:28 -04:00
Dan Roscigno
8d7d1cf682
Merge branch 'ClickHouse:master' into add-vis-to-cell-towers 2022-11-02 07:58:15 -04:00
alesapin
8965ac2dfe
Merge pull request #42625 from ClickHouse/DanRoscigno-patch-2
Update Fedora build info
2022-11-02 12:32:02 +01:00
Habibullah Oladepo
ba34ad37d1
Fix minor typos in intersect statement documentation 2022-11-02 08:02:01 +01:00
Dan Roscigno
eafcc23240
Merge branch 'master' into update-update-docs 2022-11-01 16:27:46 -04:00
DanRoscigno
32e1c3b1e6 rename update file as it is included in Manage > Updates 2022-11-01 16:25:54 -04:00
Mikhail f. Shiryaev
b99ea56db8
Add more possible issues for cleaning apt cache 2022-11-01 21:00:52 +01:00
Dan Roscigno
62428989b4
Add link to docs repo contrib writing guide 2022-11-01 14:06:42 -04:00
Mikhail f. Shiryaev
6bd98d7b9d
Merge pull request #42871 from ClickHouse/auto/v22.10.2.11-stable
Update version_date.tsv and changelogs after v22.10.2.11-stable
2022-11-01 18:56:13 +01:00
DanRoscigno
e5f9c65590 add to page title for search 2022-11-01 12:56:41 -04:00
robot-clickhouse
fc1ae1d99d Update version_date.tsv and changelogs after v22.10.2.11-stable 2022-11-01 15:50:38 +00:00
Dan Roscigno
6d855755ef
Merge pull request #42844 from i94rain/fix-broken-links
Fix broken links in system tables docs
2022-11-01 11:47:26 -04:00
Mikhail f. Shiryaev
09b320f9a1
Merge pull request #42643 from peter279k/add_deb_migration
Migration method for installing the deb-packages
2022-11-01 14:46:45 +01:00
SaltTan
3afc688751
Update docs/en/sql-reference/statements/check-table.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2022-11-01 13:04:24 +00:00
Derek Chia
29318a1e13
Update nyc-taxi.md
- Add enum 'UNK' = 5 to `payment_type` to avoid `Unknown element 'UNK' for enum` error when loading trips_*.gz
- Change url table function to s3 table function as described in the earlier paragraph
2022-11-01 18:03:17 +08:00
SaltTan
97d361bce0
Update check-table.md 2022-11-01 10:02:04 +00:00
Vitaly Baranov
9d46547daa
Merge branch 'master' into session-log-support-sslcertificate-auth 2022-11-01 08:32:09 +01:00
shuyang
7234600ec3 Apply suggestions from code review
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-10-31 19:15:20 -05:00
94rain
8b849d4b37 Fix broken links in system tables docs
Signed-off-by: 94rain <21193371+94rain@users.noreply.github.com>
2022-10-31 19:15:20 -05:00
Alexander Yakovlev
70eaf69df1
Fix a typo in table-engines/integrations/s3.md 2022-11-01 02:57:55 +03:00
SmitaRKulkarni
54035270b2
Merge branch 'master' into 42414_Enable_functions_in_readonly_mode 2022-10-31 14:15:29 +01:00
DanRoscigno
e3a2079ef0 grammar 2022-10-31 09:04:47 -04:00
Nikolay Degterinsky
81a812c1ea
Merge pull request #42822 from ClickHouse/serxa-patch-3
Link to proper place in docs
2022-10-31 13:11:15 +01:00
Sergei Trifonov
e43ecf9ca0
Link to proper place in docs 2022-10-31 12:52:31 +01:00
Sergei Trifonov
b677e68c4e
Update column.md 2022-10-31 12:46:14 +01:00
Sergei Trifonov
9066e0c3da
Merge pull request #42760 from ClickHouse/serxa-patch-2
Fix anchor links
2022-10-31 12:38:48 +01:00
Roman Vasin
24a4f4afe7
Merge branch 'master' into ADQM-605 2022-10-30 18:03:07 +03:00
Alexey Milovidov
3c69f33b7d
Merge branch 'master' into auto/v22.3.14.23-lts 2022-10-29 17:42:26 +02:00
Alexey Milovidov
cd9756bbaa
Merge pull request #42759 from ClickHouse/auto/v22.3.14.18-lts
Update version_date.tsv and changelogs after v22.3.14.18-lts
2022-10-29 17:40:22 +02:00
Dan Roscigno
bb15156b1f
Merge branch 'ClickHouse:master' into add-vis-to-cell-towers 2022-10-28 15:58:30 -04:00
DanRoscigno
030111ac11 add image for UMTS radio 2022-10-28 15:56:48 -04:00
Miel Donkers
fb1623a5f8 Add SSL_CERTIFICATE auth method to all places missing 2022-10-28 21:17:59 +02:00
Denny Crane
7fa71d8c04
Update column.md 2022-10-28 16:04:00 -03:00
Denny Crane
e903efda0a
Update column.md 2022-10-28 16:00:37 -03:00
DanRoscigno
be85232610 new images 2022-10-28 14:36:00 -04:00
DanRoscigno
418539cd51 add images 2022-10-28 11:54:44 -04:00
UnamedRus
d4c6268806
Fix Polygon dict xml config
Missing  <attribute> tag
2022-10-28 18:47:32 +04:00
Vitalii S
665fcf55aa
Update database.md
Minor text correction
2022-10-28 10:08:04 -04:00
DanRoscigno
1ec10ade5b add link to geo fn, fix index 2022-10-28 09:56:16 -04:00
Roman Vasin
fc16752844 Update docs for FROM_UNIXTIME 2022-10-28 12:56:52 +00:00
robot-clickhouse
4f62bd6ba0 Update version_date.tsv and changelogs after v22.3.14.23-lts 2022-10-28 11:43:06 +00:00
Sergei Trifonov
acec447526
Fix anchor links 2022-10-28 12:35:18 +02:00
robot-clickhouse
51e59405bc Update version_date.tsv and changelogs after v22.3.14.18-lts 2022-10-28 09:41:29 +00:00
Ilya Yatsishin
a939574500
Merge pull request #42738 from ClickHouse/auto/v22.8.8.3-lts
Update version_date.tsv and changelogs after v22.8.8.3-lts
2022-10-27 15:33:40 +02:00
robot-clickhouse
c46ee42a99 Update version_date.tsv and changelogs after v22.8.8.3-lts 2022-10-27 11:12:23 +00:00
Kruglov Pavel
0480e12f12
Merge pull request #42736 from evillique/fix-docs-1
Fix docs
2022-10-27 13:11:25 +02:00
Nikolay Degterinsky
0245df6a82 Fix docs 2022-10-27 10:41:45 +00:00
Radistka-75
a36119247f
Update in.md
Change md-formatting for note
2022-10-27 13:06:28 +03:00
Alexey Milovidov
13f125e7c2
Merge pull request #42712 from ClickHouse/auto/v22.9.4.32-stable
Update version_date.tsv and changelogs after v22.9.4.32-stable
2022-10-27 08:59:47 +02:00
Alexey Milovidov
838e7c1678
Merge pull request #42714 from ClickHouse/auto/v22.7.7.24-stable
Update version_date.tsv and changelogs after v22.7.7.24-stable
2022-10-27 08:59:36 +02:00
SmitaRKulkarni
e860ecc80c
Merge branch 'master' into 42414_Enable_functions_in_readonly_mode 2022-10-27 08:26:44 +02:00
李扬
24ffaee18c
Merge branch 'master' into ascii_function 2022-10-26 21:43:46 -05:00
robot-clickhouse
4c8f0e7591 Update version_date.tsv and changelogs after v22.7.7.24-stable 2022-10-26 17:28:41 +00:00
robot-clickhouse
18c0e7b228 Update version_date.tsv and changelogs after v22.8.7.34-lts 2022-10-26 17:19:01 +00:00
robot-clickhouse
31a0044981 Update version_date.tsv and changelogs after v22.9.4.32-stable 2022-10-26 17:14:38 +00:00
Smita Kulkarni
6a8fa2d4a5 Added new field allow_readonly in system.table_functions to allow using table functions in readonly mode.
Implementation:
* Added a new field allow_readonly to table system.table_functions.
* Updated to use new field allow_readonly to allow using table functions in readonly mode.
* Added TableFunctionProperties similar to AggregateFunctionProperties.
* The functions allowed in readonly mode are in this set table_functions_allowed_in_readonly_mode.
Testing:
* Added a test for filesystem tests/queries/0_stateless/02473_functions_in_readonly_mode.sh
Documentation:
* Updated the english documentation for Table Functions.
2022-10-26 18:45:23 +02:00
DanRoscigno
22011aeaec remove frontmatter 2022-10-26 12:39:17 -04:00
Dan Roscigno
4bf48bce90
Merge branch 'master' into update-backup-for-s3 2022-10-26 10:38:30 -04:00
robot-clickhouse
42f5a3b2f8
Update version_date.tsv and changelogs after v22.10.1.1877-stable 2022-10-26 15:39:34 +02:00
李扬
04f8f38580
Merge branch 'master' into ascii_function 2022-10-26 07:29:49 -05:00
Mikhail f. Shiryaev
576e6dd9aa
Merge pull request #42676 from ClickHouse/auto/v22.10.1.1875-stable
Update version_date.tsv and changelogs after v22.10.1.1875-stable
2022-10-26 13:54:45 +02:00
SmitaRKulkarni
5df138da82
Merge pull request #42376 from ClickHouse/36316_Support_glob_for_recursive_directory_traversal
Added ** glob support for recursive directory traversal to filesystem…
2022-10-26 11:49:20 +02:00
robot-clickhouse
117674c0ce Update version_date.tsv and changelogs after v22.10.1.1875-stable 2022-10-26 08:48:12 +00:00
taiyang-li
2254bef74a implement function ascii 2022-10-26 14:19:26 +08:00
Dan Roscigno
690e4e70ae
Merge branch 'master' into update-backup-for-s3 2022-10-25 21:40:49 -04:00
DanRoscigno
91c3744cfe add backup to S3 endpoint 2022-10-25 21:33:09 -04:00
ltrk2
2c902bbc65
Implement support for different UUID binary formats (#42108)
* Implement support for different UUID binary formats

* Declare error codes that the implementation uses

* Make single-argument constructor explicit

* Modernize parts of the solution

* Make improvements based on review comments

* Declare an error code being used
2022-10-25 21:57:50 +02:00
Dan Roscigno
1e53fd7374
Merge branch 'master' into add_deb_migration 2022-10-25 10:29:54 -04:00
peter279k
7626406b86 Add two troubleshootings about installation 2022-10-25 21:53:28 +08:00
JackyWoo
c7a0ebeb05 little fix 2022-10-25 17:46:24 +08:00
JackyWoo
9a36a509fe fix test 2022-10-25 17:15:49 +08:00
peter279k
dd4121a290 Migration method for installing the deb-packages 2022-10-25 15:27:52 +08:00
Dan Roscigno
0c50114190
Update Fedora build info
I am using Fedora 36.

yum install of `clang-c++` failed for me, `clang` worked.  And I had an error message telling me to install `ccache` also.
2022-10-24 14:41:38 -04:00
SmitaRKulkarni
96c8260230
Merge branch 'master' into 36316_Support_glob_for_recursive_directory_traversal 2022-10-24 18:34:19 +02:00
JackyWoo
b5d1c4e657 replace snpd with lgif 2022-10-24 20:08:58 +08:00
Alexey Milovidov
9b1b436e4d
Merge branch 'master' into DanRoscigno-patch-2 2022-10-24 10:28:29 +02:00
Robert Schulze
b746224217
Merge pull request #42554 from arenadata/ADQM-604
Add support of Date32 arguments for dateName function
2022-10-22 17:20:10 +02:00
JackyWoo
39c88c74e8 check whether last manually created snapshot is done 2022-10-22 22:31:17 +08:00
JackyWoo
bf291790b7
Merge branch 'master' into manual_snapshot_for_keeper 2022-10-22 16:57:50 +08:00
Alexey Milovidov
bc6762d613
Merge pull request #42565 from alexeyerm/other-functions.md-fix
other-functions.md example fix
2022-10-22 04:20:23 +02:00
Alexey Milovidov
592fbb3eaf
Merge pull request #42367 from ClickHouse/revert-40217
Revert #40217
2022-10-21 21:56:15 +02:00
Dan Roscigno
440af00c74
Merge pull request #42151 from ClickHouse/remove-misc-statements
Docs: Remove obsolete misc page
2022-10-21 13:48:53 -04:00
alexeyerm
e1fccbd161
doc fix fix 2022-10-21 20:09:46 +03:00
alexeyerm
4b4d1e8a5d
doc fix fix 2022-10-21 20:09:19 +03:00
alexeyerm
9abfe76fbb
doc fix fix 2022-10-21 20:08:44 +03:00
alexeyerm
d25ecb9f0b
fix transform() example 2022-10-21 19:47:38 +03:00
alexeyerm
930c60d71e
fix transform() example 2022-10-21 19:45:37 +03:00
alexeyerm
95943dbdda
fix transform() example 2022-10-21 19:44:35 +03:00
DanRoscigno
52ca29140e WIP: add Superset deploy instructions 2022-10-21 12:27:20 -04:00
Robert Schulze
2d448c139c
Merge pull request #42308 from arenadata/ADQM-584
Add support of Date32 arguments for date_diff function
2022-10-21 13:18:44 +02:00
Roman Vasin
537f7000d6 Update documentation 2022-10-21 06:55:24 +00:00
Alexey Milovidov
48694def2c
Merge branch 'master' into revert-40217 2022-10-21 05:49:34 +02:00
Alexey Milovidov
b720030ac6 Remove outdated documentation 2022-10-21 00:13:30 +02:00
Robert Schulze
9b7294ef45
Merge remote-tracking branch 'origin/master' into revert-40217 2022-10-20 15:27:31 +00:00
Robert Schulze
52eefe1ffd
Fix 02403_enable_extended_results_for_datetime_functions 2022-10-20 13:25:48 +00:00
Robert Schulze
42f680849c
Fix bad_cast in Annoy index
- Problem originally found by data type fuzzer
  https://s3.amazonaws.com/clickhouse-test-reports/42180/2f83d8790581dce0ffeec56c137b1d13160cfa7b/fuzzer_astfuzzermsan//report.html

- This commit restricts which data types are allowed for Annoy indexes
  (similar things are done for other index types).
2022-10-19 13:40:39 +00:00
Alexey Milovidov
2834143bd4
Merge pull request #42446 from ezirmusitua/master
zh-CN translation for getting-started/example-datasets
2022-10-18 23:14:31 +02:00
DanRoscigno
e76560619c moved into dev/getting-started 2022-10-18 14:52:28 -04:00
Dan Roscigno
1e3584df83
Merge branch 'master' into master 2022-10-18 14:13:54 -04:00
DanRoscigno
c772dbb5d6 fix broken links and wrong colon char 2022-10-18 11:54:29 -04:00
jferroal
123e1aea65
Doc: fix metadata 2022-10-18 22:57:45 +08:00
jferroal
6e100adcb4
Doc: fix metadata 2022-10-18 22:57:23 +08:00
jferroal
e89b390ee3
Doc: add zh-CN translation
getting-started/example-datasets/opensky.mdx
2022-10-18 22:56:49 +08:00
jferroal
e504cec743
Doc: add zh-CN translation
getting-started/example-datasets/recipes.mdx
2022-10-18 22:55:58 +08:00
Dan Roscigno
b125fd8718
Update uk-price-paid.md 2022-10-18 09:34:53 -04:00
Kruglov Pavel
9588653a6e
Merge branch 'master' into improve-schema-inference-insert-select 2022-10-18 15:17:27 +02:00
Smita Kulkarni
32fad205f0 Added documentation for file and s3 - 36316 Support ** glob for recursive directory traversal 2022-10-18 14:08:26 +02:00
jferroal
1e7afba015
Doc: Add zh-CN translation
getting-started/example-datasets/menus.mdx
2022-10-18 08:57:27 +08:00
jferroal
d038d2b478
Doc: Add zh-cn translation
getting-started/example-datasets/cell-towers.mdx
2022-10-18 08:54:59 +08:00
Vitaly Baranov
eb637a6f81
Merge pull request #42232 from azat/backups/s3
Support BACKUP to S3 with as-is path/data structure
2022-10-18 02:37:07 +02:00
Alexey Milovidov
2023f38764 Fixups 2022-10-17 05:50:24 +02:00
Alexey Milovidov
d1f0c80ffe Revert "Merge pull request #40217 from zvonand/zvonand-minmax"
This reverts commit df934d8762, reversing
changes made to d3a7945b1b.
2022-10-17 04:57:15 +02:00
jferroal
2376df7b98
Fix: page slug 2022-10-17 09:27:05 +08:00
jferroal
b3aea48b9d
Doc: zh-CN translation
docs/zh/getting-started/example-datasets/brown-benchmark
2022-10-17 09:22:46 +08:00
Alexey Milovidov
9ccbadc359
Merge pull request #42275 from zimv/doc-update-client-libraries
Docs: Add  "node-clickhouse-orm" to the client-libraries.md
2022-10-15 08:18:16 +02:00
Kruglov Pavel
6fc12dd922
Merge pull request #41703 from Avogar/json-object-each-row
Add setting to obtain object name as column value in JSONObjectEachRow format
2022-10-14 20:11:04 +02:00
Kruglov Pavel
f1dd247181
Merge branch 'master' into improve-schema-inference-insert-select 2022-10-14 17:16:58 +02:00
avogar
2b150a575e Add docs 2022-10-14 15:15:03 +00:00
jferroal
edfc388b7c
Doc: add zh translation (#42312) 2022-10-14 16:29:03 +02:00
Azat Khuzhin
8830f0608d Support BACKUP to S3 with as-is path/data structure
Right now backup to S3 does not make a lot of sense, since:
- it has random names, and to decoding them
- requires metadata from local disk (/var/lib/disks/DISK/BACKUP_NAME)
- or send_metadata (but it is also tricky even with it)

So this patch adds simpler interface for S3, it is only suitable for
BACKUP/RESTORE, so don't try to use it for MergeTree engine.

It is done by adding separate disk - `s3_plain` for this, that:
- does not support any extended features, like renames/hardlinks/attrs/...
  (so basically everything that MergeTree requires)
- only write/read/unlink/list files

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-14 12:59:25 +02:00
Roman Vasin
90f9bd24a3 Update documentation 2022-10-14 08:02:38 +00:00
zimv
56ef17e083 Docs: Add "node-clickhouse-orm" to the client-libraries.md 2022-10-13 14:57:35 +08:00
Alexey Milovidov
5b6be92042
Update build.md 2022-10-13 05:31:50 +03:00
vdimir
0178307c27 Followup for TemporaryDataOnDisk 2022-10-12 15:25:23 +02:00
lixuchun
b724b7a74a update docs error 2022-10-12 11:57:35 +08:00
Alexey Milovidov
023f11fb86
Update developer-instruction.md 2022-10-09 03:54:00 +03:00
Alexey Milovidov
9bf5fe728b
Merge pull request #42173 from ClickHouse/remove-temporary-live-view
Remove TEMPORARY LIVE VIEW
2022-10-08 19:05:33 +03:00
Alexey Milovidov
b9159db82f Remove temporary live views 2022-10-08 00:16:36 +02:00
Robert Schulze
3e3c0a7bb6
Docs: Add "TABLE" to CHECK/DESCRIBE statements in sidebar 2022-10-07 14:41:00 +00:00
Robert Schulze
cde0257d11
Docs: Remove obsolete pages
Removes page https://clickhouse.com/docs/en/sql-reference/statements/misc

It indexes "miscellaneous" SQL statements but these are already easily
reachable by the sidebar.
2022-10-07 14:37:22 +00:00
Robert Schulze
e759a64d38
Docs: Redirect links to misc.md
--> https://clickhouse.com/docs/en/sql-reference/statements/misc

This page indexes a bunch of SQL statements but they are easily
reachable by the sidebar already.
2022-10-07 13:22:40 +00:00
Nikolay Degterinsky
522948fa2a
Merge branch 'master' into patch-1 2022-10-06 17:47:36 +02:00
Nikolay Degterinsky
c5ff73cb25
Merge branch 'master' into master 2022-10-06 16:55:34 +02:00
Dan Roscigno
41fb3cb7da
Merge branch 'master' into combine-requirements-install-docs 2022-10-06 09:39:11 -04:00
DanRoscigno
655d2b298d adjust heading level 2022-10-06 09:38:30 -04:00
Jus
72015dca4d
add %z offset
Add placeholder %z
2022-10-06 16:45:18 +04:00
Alexey Milovidov
546609c6e5
Merge pull request #42114 from ClickHouse/auto/v22.6.9.11-stable
Update version_date.tsv and changelogs after v22.6.9.11-stable
2022-10-06 14:49:42 +03:00