skestle opened a new pull request #31252:
URL: https://github.com/apache/spark/pull/31252


   This satisfies PostgresDialect's requirement for scale in Numeric arrays (as 
it was before SPARK-33888 removed the metadata)
   
   ### What changes were proposed in this pull request?
   
   Ensuring that a numeric scale component is provided to Postgres for Array 
type metadata processing.
   
   ### Why are the changes needed?
   
   The initial changes in SPARK-33888 restrict the "scale" column metadata to 
NUMERIC and DECIMAL types, but PostgresDialect was also using "scale" for Array 
types.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. (This restores master to the same [Postgres] behavior as it had on 3 Jan 
2021)
   
   ### How was this patch tested?
   
   Manually tested by loading a Postgres table that specified a numeric array 
column.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to