profile
viewpoint
Yu Lei leiysky China, Guangzhou @datafuselabs | Database Developer

datafuselabs/databend 2676

An elastic and reliable Serverless Data Warehouse, offers Blazing Fast Query and combines Elasticity, Simplicity, Low cost of the Cloud, built to make the Data Cloud easy

leiysky/a-database 6

A simple database.

leiysky/agenda 0

A simple meeting manage software.

leiysky/air-conditioner 0

❄️ 云空调,便携小空调,为你的夏日带去清凉!

leiysky/BERT-BiLSTM-CRF-NER 0

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services

leiysky/book_management 0

A simple bookstore manage system server based on Node.js and MySQL.

leiysky/client-c 0

The C TiKV client

startedbytedance/monoio

started time in 4 hours

PR closed datafuselabs/databend

[DNM] Test license checker pr-not-for-changelog

I hereby agree to the terms of the CLA available at: https://databend.rs/policies/cla/

Summary

Summary about this PR

Changelog

  • Not for changelog (changelog entry is not required)

Related Issues

Fixes #issue

Test Plan

Unit Tests

Stateless Tests

+26 -3

17 comments

4 changed files

leiysky

pr closed time in 4 hours

push eventleiysky/databend

leiysky

commit sha 0c54c3f82445ed4e147cae7ac02d0a32580044e7

save

view details

push time in a day

issue commentdatafuselabs/databend

[sqlparser] better sql parser?

@hustnn Sorry for replying so late.

The biggest benefit of have a own parser is more flexible like you can define the ASTs structure you want. Also nom did provide some powerful combinators so we can leverage them when building own parser.

You actually get the point. We do have a set of AST structure defined by ourselves, with which I'm doing some refactor. These AST structures can be directly transformed from sqlparser-rs's AST, so one day we can replace sqlparser-rs with our own parser.

nom is a good choice. We're glad to have you as collaborator on this work. Please let me know if you need any help.

BohuTANG

comment created time in 8 days

push eventleiysky/databend

leiysky

commit sha 18931ebc44d009857dbba7124d220a32042681f3

update license

view details

push time in 15 days

Pull request review commentdatafuselabs/databend

[WIP] New planner framework

+// Copyright 2020 Datafuse Labs.

Sure

leiysky

comment created time in 15 days

PullRequestReviewEvent

PR opened datafuselabs/databend

[WIP] New planner framework

I hereby agree to the terms of the CLA available at: https://databend.rs/policies/cla/

Summary

#1217

Changelog

  • New Feature
+2316 -9

0 comment

33 changed files

pr created time in 16 days

push eventleiysky/databend

leiysky

commit sha d09b3dd570af6850b0e7a5e653178222e3c651cb

format

view details

push time in 16 days

push eventleiysky/databend

leiysky

commit sha a6f5fff779726e6484850830a4f987b0c1660da3

save

view details

push time in 16 days

Pull request review commentdatafuselabs/databend

Implement Visitor for SQL AST

+// Copyright 2021 Datafuse Labs.+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+//     http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++use common_exception::Result;++use crate::sql::parser::ast::BinaryOperator;+use crate::sql::parser::ast::ColumnDefinition;+use crate::sql::parser::ast::Expr;+use crate::sql::parser::ast::Identifier;+use crate::sql::parser::ast::Indirection;+use crate::sql::parser::ast::Join;+use crate::sql::parser::ast::JoinCondition;+use crate::sql::parser::ast::Literal;+use crate::sql::parser::ast::OrderByExpr;+use crate::sql::parser::ast::Query;+use crate::sql::parser::ast::SQLProperty;+use crate::sql::parser::ast::SelectStmt;+use crate::sql::parser::ast::SelectTarget;+use crate::sql::parser::ast::SetExpr;+use crate::sql::parser::ast::SetOperator;+use crate::sql::parser::ast::Statement;+use crate::sql::parser::ast::TableAlias;+use crate::sql::parser::ast::TableReference;+use crate::sql::parser::ast::TypeName;+use crate::sql::parser::ast::UnaryOperator;+

It's not required, you can suit yourself.

jackwener

comment created time in 19 days

PullRequestReviewEvent

pull request commentdatafuselabs/databend

Implement Visitor for SQL AST

@jackwener It's better to visit ast by reference but not moving, since a visitor shouldn't take ownership of ast.

jackwener

comment created time in 19 days

startedbytebase/bytebase

started time in 20 days

push eventleiysky/databend

leiysky

commit sha b9e5a7438cd1002a2d2d03452dc260b5882388bc

save

view details

push time in 21 days

push eventleiysky/databend

leiysky

commit sha e5426b6fa57ef149fbb6fd14085d53f193636698

save

view details

push time in 22 days

PR opened engula/engula

Fix typo
+1 -1

0 comment

1 changed file

pr created time in a month

push eventleiysky/engula

Yu Lei

commit sha 5f884c692f74b8a991b1f383874d52e1874201f0

fix typo

view details

push time in a month

push eventleiysky/engula

Yu Lei

commit sha 90815045eb751c48c3516db8b818d37b5215f6a3

fix type

view details

push time in a month

push eventleiysky/databend

leiysky

commit sha ef52904af76972aaada6ab629339959a36ac20c2

save

view details

push time in a month

push eventleiysky/databend

leiysky

commit sha 05ac339c441d7b5473adf3250ba7c7d0d1c11f57

save

view details

push time in a month

push eventleiysky/databend

leiysky

commit sha 60fe4c1a3d7cf307405d52451a9dda3cb8367cef

save

view details

push time in a month

push eventleiysky/databend

drdr xp

commit sha 5d5f053555c64d47b07f9d0f5ee986c704283fb1

[common/meta] refactor: rename Cmd::CreateTable.table to Cmd::CreateTable.table_info

view details

zhihanz

commit sha 01fbf17a705e8a3b5c92eb6743c7ce8f10abc888

bigsur support

view details

zhihanz

commit sha d37cf52ae190ff493eccb1384d99385dd9d4dba2

add bigsur CI

view details

zhihanz

commit sha d346db912ec98291f71b7a04ffa419d258edf6cc

add dep

view details

zhihanz

commit sha 481b7c383520b9efef2e39721459bb9c953bf21e

add dep

view details

张炎泼

commit sha 117a7b3bfb8ff52b939c3013bee25eb7fa783fcd

Merge pull request #2426 from drmingdrmer/refactor-cmd [common/meta] refactor: rename Cmd::CreateTable.table to Cmd::CreateTable.table_info

view details

drdr xp

commit sha 83c95ef013e86bc476a990b6557854a2aae574d0

[common/meta] refactor: minor simplification

view details

drdr xp

commit sha d1701bc7d6f8172a0bd72a1937cc388b25d8e734

[common/meta] refactor: minor simplification

view details

zhihanz

commit sha 2ae14eaad02d18106625cb40069ea440b490575a

all to x86

view details

zhihanz

commit sha 8eb1a8cf7c7714805bae672f656722c96ddef9ea

handle gnu encoding layer

view details

zhihanz

commit sha 8997853abebf54e40a330d696ce6cfbcec471ac2

cli

view details

zhang2014

commit sha c0071a3a9dbe46061a6c1b43596c099513a21f0d

Add databend_main and databend_test proc macros

view details

zhihanz

commit sha 9cac74111c57a04bad9b3e642833b828fb223c10

strange matrix issue

view details

zhang2014

commit sha 6cf5901d2fe33ccd64f8201647e8805074a8c848

Merge branch 'main' into feature/runtime_tracker # Conflicts: # query/Cargo.toml

view details

zhihanz

commit sha 9533dd117371f1884bb69523b745b4d0a28fae99

Merge pull request #2435 from ZhiHanZ/bigsur [Release] experimental support on Big Sur

view details

张炎泼

commit sha d992aaa9f446238c2bdfa3e4cd923f1581307b4b

Merge pull request #2434 from zhang2014/feature/runtime_tracker Add databend_main and databend_test proc macros

view details

zhihanz

commit sha dd670eb466ec8afd085ee6826240cf302f915b7a

tricks on tar compression

view details

ye.sijun

commit sha af01e59d3d554331623f8e685d64f6d023e51649

[doc] add kill query doc

view details

Chojan Shang

commit sha 0dca4fcade0e92036fb14cdf5d173bf84d8083a8

Merge pull request #2444 from ZhiHanZ/bigsur [Release[ fix tar compression issue in macOS release

view details

zhihanz

commit sha d6dc27b32245febd3bfd0b35a295a6ae6d68a965

define interactive mode

view details

push time in a month

startedzesterer/chumsky

started time in a month

startedscylladb/scylla

started time in a month

startedOpenRA/OpenRA

started time in a month

startedtrinodb/trino

started time in a month

startedapache/druid

started time in a month

startedapache/drill

started time in a month

startedhawkingrei/forder

started time in a month

more