https://slingdata.io logo
Hi, the target options doesnt catch on "
# sling-help
m
Hi, the target options doesnt catch on "default" mapping when its api connection. Only if I set it on stream level
f
Ah ok, which target options are you trying?
m
target_options: column_casing: lower adjust_column_type: true
Is it fixed? Havent tried since
f
@marikt94 i just ran a test and it worked fine... can you verify your config and indents?
Copy code
source: swapi
target: postgres

defaults:
  target_options:
    column_casing: lower
    adjust_column_type: true

streams:
  data_planets:
    object: public.{stream_name}
Got:
Copy code
2025-11-20 22:15:16 DBG using target options: {"datetime_format":"auto","file_max_rows":0,"max_decimals":-1,"use_bulk":true,"add_new_columns":true,"adjust_column_type":true,"column_casing":"lower","table_tmp":"\"public\".\"data_planets_tmp\""}
m
Hi, I got {} on log for target options. This is the default and streams section: defaults: object: mark_sling.{stream_name} hooks: pre: - type: query connection: mark_sling query: file://queries/incremental_values_gap_api.sql post: - type: query connection: mark_sling query: file://queries/log_insert_query.sql target_options: column_casing: lower adjust_column_type: true streams: '*':
f
hey @marikt94 same here, logs would be helpful. I cannot reproduce, it works fine for me.
m
Solved, thanks in advence!