Skip to content

Commit 1ccee82

Browse files
committed
update docs
1 parent 790c2c6 commit 1ccee82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/hsfs/core/schema_validation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def validate_schema(self, feature_group, df, df_features):
6666
# Handle errors
6767
if is_pk_null or (is_string_length_exceeded and feature_group.id):
6868
raise ValueError(
69-
f"One or more schema validation errors found for online ingestion. Data cannot be inserted. Error details ('column_name':'error description'): {errors}"
69+
f"One or more schema validation errors found for online ingestion. For details about the validation, refer to the documentation(https://docs.hopsworks.ai/latest/user_guides/fs/feature_group/data_types/#string-online-data-types). Error details ('column_name':'error description'): {errors}"
7070
)
7171
elif is_string_length_exceeded:
7272
# If the feature group is not created and string lengths exceed default, adjust the string columns

python/hsfs/feature_group.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4087,7 +4087,7 @@ def insert(
40874087
listeners of the Hopsworks Kafka Cluster. Defaults to `False` and
40884088
will use external listeners when connecting from outside of Hopsworks.
40894089
validation_options: Additional validation options as key-value pairs, defaults to `{}`.
4090-
* key `run_validation` boolean value, set to `False` to skip validation temporarily on ingestion.
4090+
* key `run_validation` boolean value, set to `False` to skip validation temporarily on ingestion. Also applicable for pre-insert schema validations.
40914091
* key `save_report` boolean value, set to `False` to skip upload of the validation report to Hopsworks.
40924092
* key `ge_validate_kwargs` a dictionary containing kwargs for the validate method of Great Expectations.
40934093
* key `fetch_expectation_suite` a boolean value, by default `True`, to control whether the expectation

0 commit comments

Comments
 (0)