Код: Выделить всё
from transforms.api import transform, incremental, Input, Output
@incremental(v2_semantics=True)
@transform.using(
input=Input(""),
output=Output(""),
)
def compute(ctx, input, output):
ddb = ctx.duckdb(read_modes={input: ["current", "previous"]})
Код: Выделить всё
ddb = ctx.duckdb(read_modes={input: ["current", "previous"]})
^^^^^^^^^^
AttributeError: 'LightweightContext' object has no attribute 'duckdb'
Интересно, использует ли кто-нибудь DuckDB в этой же среде? Есть ли пример доступа к объекту DuckDB?
Подробнее здесь: https://stackoverflow.com/questions/798 ... -transform
Мобильная версия