LOADING

加载过慢请开启缓存,浏览器默认开启

datafusion_issue

2024/1/23 datafusion

issue_8922

easy issue, just need to change the format of all the test

issue_8969

we need to modify the parser & ScalarFunctionDefinition to add a new function which is called PosPosition

0.change the sqlparser-rs and add the keywords in src/keywords.rs
1.change the definition of keywords src/parser/mod.rs
2.add corresponding information in arrow-datafusion/datafusion/physical-expr/src/string_expressions.rs
3./home/yanxinxiang/code/DF/arrow-datafusion/datafusion/physical-expr/src/unicode_expressions.rs

issue_8838

answer the following questions first

1.where does the order information stored?
table information stored in
Alt text

  1. transfer a ident into table reference
    Alt text

  2. location which it stores
    Alt text

  3. SessionContext created here
    Alt text

  4. final store position
    Alt text
  5. final creation in this function
    Alt text
  6. final register
    Alt text
  7. entry for doing optimization on logical plan
    Alt text
  8. analyze the plan
    Alt text
  9. optimize plan
    Alt text
    11.
    Alt text
    EXPLAIN
    SELECT
    CAST(c_customer_sk AS BIGINT) AS a,
    CAST(c_current_cdemo_sk AS BIGINT) AS b
    FROM delta_encoding_required_column
    ORDER BY a DESC;
    12.
    where does it build oeq_class?

EXPLAIN
SELECT
c_customer_sk AS c_customer_sk_big,
c_current_cdemo_sk
FROM delta_encoding_required_column
ORDER BY c_customer_sk_big DESC, c_current_cdemo_sk DESC;

EXPLAIN
SELECT
CAST(c_customer_sk AS BIGINT) AS c_customer_sk_big,
c_current_cdemo_sk
FROM delta_encoding_required_column
ORDER BY c_customer_sk_big DESC, c_current_cdemo_sk DESC;

Alt text