Re: Query about `JdbcIO`

2024-02-25 Thread Vardhan Thigle via user
Thanks for the pointer, xqhu@ !
Regards and Thanks,
Vardhan Thigle,
+919535346204


On Sun, Feb 25, 2024 at 2:19 AM XQ Hu  wrote:

> I did not find BEAM-13846 but this suggests String is never supported:
>
>
> https://github.com/apache/beam/blob/master/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcUtilTest.java#L59
>
> However, you could use the code from the test to create yours.
>
> On Thu, Feb 22, 2024 at 11:20 AM Vardhan Thigle via user <
> user@beam.apache.org> wrote:
>
>> Hi,
>> I had a small query about `JdbcIO`.
>> As per the documentation
>> 
>>  `readWithPartitions` is supported for  Long, DateTime
>> 
>> , String types for the partition column but on top of the tree code, 
>> `PRESET_HELPERS`
>> (ref
>> )
>> support only Long and DateTime.
>>
>> Was the support for `String` rolled back? If yes could you please help me
>> with the exact problem that caused the rollback (or any pointers to a
>> previous Issue)?
>>
>> Regards and Thanks,
>> Vardhan Thigle,
>> +919535346204 <+91%2095353%2046204>
>>
>> Regards and Thanks,
>> Vardhan Thigle,
>> +919535346204 <+91%2095353%2046204>
>>
>


Re: Query about `JdbcIO`

2024-02-24 Thread XQ Hu via user
I did not find BEAM-13846 but this suggests String is never supported:

https://github.com/apache/beam/blob/master/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcUtilTest.java#L59

However, you could use the code from the test to create yours.

On Thu, Feb 22, 2024 at 11:20 AM Vardhan Thigle via user <
user@beam.apache.org> wrote:

> Hi,
> I had a small query about `JdbcIO`.
> As per the documentation
> 
>  `readWithPartitions` is supported for  Long, DateTime
> 
> , String types for the partition column but on top of the tree code, 
> `PRESET_HELPERS`
> (ref
> )
> support only Long and DateTime.
>
> Was the support for `String` rolled back? If yes could you please help me
> with the exact problem that caused the rollback (or any pointers to a
> previous Issue)?
>
> Regards and Thanks,
> Vardhan Thigle,
> +919535346204 <+91%2095353%2046204>
>
> Regards and Thanks,
> Vardhan Thigle,
> +919535346204 <+91%2095353%2046204>
>