byzer-lang
byzer-lang copied to clipboard
Byzer (former MLSQL): A low-code open-source programming language for data pipeline, analytics and AI.
define a `map` field in byzer-python schema like codes below: ```sql !python env "PYTHON_ENV=source activate dev"; !python conf "schema=st(field(top,map(string,string)))"; !python conf "runIn=driver"; !python conf "dataMode=model"; run command as Ray.`` where...
When I tried to convert map into vector by using VecMapInPlace, it threw exception. My Byzer code like this: ``` set jsonStr=''' {"features":{"a":1.6,"b":1.2},"label":0.0} {"features":{"a":1.5,"b":0.2},"label":0.0} {"features":{"a":1.6,"b":1.2},"label":0.0} {"features":{"a":1.6,"b":7.2},"label":0.0} '''; load jsonStr.`jsonStr` as...
engine:,streaming.datalake.path /home/users/ \ Compact delta log in hdfs://ip:8020/home/users/.../home/users/ods/ods_t_table should at least:
first cell set table_name="T_table_name" where scope="session"; set ods_table_name="ODS_${table_name}" where scope="session"; select 123 as name as `${ods_table_name}`; second cell select * from `${ods_table_name}` as ccc; Table or view not found: ODS_;...
比如自定义算法节点
1. [任务(1):设置好开发环境 ](https://github.com/byzer-org/byzer-lang/issues/1403) 2. [任务(2):学习 Byzer Lang 基本语言 ](https://github.com/byzer-org/byzer-lang/issues/1404) 3. [任务(3):设置好 Byzer Python环境并验证 ](https://github.com/byzer-org/byzer-lang/issues/1405) 4. [任务(4): 编写脚本打包发布 Byzer 引擎](https://github.com/byzer-org/byzer-lang/issues/1407) 5. [任务(5): 学习和开发ET插件](https://github.com/byzer-org/byzer-lang/issues/1408) 6. [任务(6): 高阶机器学习-从训练到预测](https://github.com/byzer-org/byzer-lang/issues/1409) 7. [任务(7): 从Python库提取示例数据到Delta Lake中](https://github.com/byzer-org/byzer-lang/issues/1410)
Suppose we have code like following: ```sql include lib.`github.com/allwefantasy/lib-saas-api` where libMirror="gitee.com" and -- if you'r in china, set proxy alias="apis"; set userId="xxxxx"; set access_token="xxxxx"; include local.`apis.dataset.doc__v2__docs`; ``` The variables userId,...
### Sometims I can not get code suggestion after typing '--' for code annotation in code. Text: ``` --#%python select * from jsonStr.`abc` as qwe; s[cursor] ``` Form Data: ```...
On Spark-3.1.1-hadoop3.2 , mlsql-autosuggest unit test returns error ```shell ANTLR Tool version 4.7.1 used for code generation does not match the current runtime version 4.8 ``` mlsql uses antlr 4.7.1...
