Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log external external doesn't work in proton local #411

Open
jovezhong opened this issue Dec 13, 2023 · 0 comments
Open

Log external external doesn't work in proton local #411

jovezhong opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jovezhong
Copy link
Contributor

Describe what's wrong

I want to use proton local mode to monitor local logs and it reports error

Code: 48. DB::Exception: log external stream is not supported yet. (NOT_IMPLEMENTED)

How to reproduce
use homebrew version or directly download of proton binary
start it with proton local
run the following commands:

CREATE EXTERNAL STREAM log(
                      raw string
                    )
                    SETTINGS
                    type='log',
                       log_files='com.docker.backend.log',
                       log_dir='~/Library/Containers/com.docker.docker/Data/log/host',
                       timestamp_regex='^[(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z)]',
                       row_delimiter='(\n)'

Error message and/or stacktrace

CREATE STREAM log
(raw string
)
SETTINGS type = 'log', log_files = 'com.docker.backend.log', log_dir = '~/Library/Containers/com.docker.docker/Data/log/host', timestamp_regex = '^[(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z)]', row_delimiter = '(\n)'

Query id: 96184728-5a47-40d3-8386-81230ee23b30

0 rows in set. Elapsed: 0.190 sec.

Received exception:
Code: 48. DB::Exception: log external stream is not supported yet. (NOT_IMPLEMENTED)

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants