This is an automated email from the ASF dual-hosted git repository.

xiedeyantu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 43239642c5a7d138461e2a08507ab9b3be070166
Author: Anas Khan <[email protected]>
AuthorDate: Sat Jul 4 15:25:48 2026 +0530

    Change typo in Pig script schema mismatch error message
---
 piglet/src/main/java/org/apache/calcite/piglet/PigRelBuilder.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/piglet/src/main/java/org/apache/calcite/piglet/PigRelBuilder.java 
b/piglet/src/main/java/org/apache/calcite/piglet/PigRelBuilder.java
index df9f57a303..87c467209b 100644
--- a/piglet/src/main/java/org/apache/calcite/piglet/PigRelBuilder.java
+++ b/piglet/src/main/java/org/apache/calcite/piglet/PigRelBuilder.java
@@ -246,7 +246,7 @@ public RelBuilder scan(RelOptTable userSchema, String... 
tableNames) {
         // If both schemas are valid, they must be compatible
         throw new IllegalArgumentException(
             "Pig script schema does not match database schema for table " + 
names + ".\n"
-                + "\t Scrip schema: " + 
userSchema.getRowType().getFullTypeString() + "\n"
+                + "\t Script schema: " + 
userSchema.getRowType().getFullTypeString() + "\n"
                 + "\t Database schema: " + 
systemSchema.getRowType().getFullTypeString());
       }
       // We choose to use systemSchema if it is valid

Reply via email to